2

In a simple page, that requires a user/password to get all access, can I store such a login data in a sqlite database? is this safe? I'm asking because I don't know much about sqlite in background. What I know is that it's just a simple file, that I should think it as "if using fopen()".

1
  • What is safer is avoiding writing your own security libraries, if you use the ASP.NET forms auth and membership providers, you get a lot of security features that have been field tested, here is the sqlite version: codeproject.com/Articles/29199/… Commented Jul 5, 2013 at 14:51

1 Answer 1

2

There is no reason to believe it wouldn't be secure as long as you configure IIS to block serving the file.

Sign up to request clarification or add additional context in comments.

1 Comment

Which can be done by putting it in the App_Data folder, which by default, ASP.NET will not server any file from that folder (but it is accessible to code via the file system)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.