|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
ASP.NET page password protection
I am looking for the easiest way to password protect an asp.net page. My code for my web application is in c#.
The data does not need a high level of secuirty as the data is not that important, so the simpliest way to do this would be great. Thanks in advance Paul |
|
#2
|
||||
|
||||
|
Why do you want to protect the password? As long your box and code is secure (ppl can't access the DB), you don't really need to "protect" the password. You can try MD5 hashing it, but it's a hassle, and something you really don't need to do.
As long as you aren't doing silly thing like ever printing the password to the screen, or passing it around in the query string, you don't need to do anything. |
|
#3
|
|||
|
|||
|
Page not the passport
I am trying to restrict access to the aspx page, I do not really want to use databases at this stage and was wondering if there is a simple way to do this, possible to do with the web config and authenication
|
|
#4
|
||||
|
||||
|
I guess you could use NT authentication - but you wouldn't want to do that with more than 5 users. Simply setup the permissions on the folders/files that need the security with the respective users, then turn off anonymous access to those folders/files in IIS.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > ASP.NET page password protection |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|