Simple website with open and restricted area
I am trying to write a simple public web application (internet) where the
root is public (anonymous) and where I have a subfolder called admin where a
few aspx-pages should be restricted to one user.
In dotnet 1.1 (or was it 2.0 beta) I had this funcionality using
Authentication mode set to Windows. Isn't this possible for dotnet 2.0? I
just want one login account to use the site, so I don't think I want to use
forms authentication to set up a login page (or is this made in 30 minutes),
and account administration page. Or could you add forms users via an
My current web.config in the admin subfolder looks like this:
<?xml version="1.0" encoding="utf-8"?>
<allow users="MIKLA\MegaphoneAdmin" />
<deny users="*" />
Could anyone help me to accomplish this?!?!?
|All times are GMT. The time now is 12:49 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.