Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Simple website with open and restricted area

Reply
Thread Tools

Simple website with open and restricted area

 
 
Magnus Blomberg
Guest
Posts: n/a
 
      02-20-2006
Hi!

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
existing interface?

My current web.config in the admin subfolder looks like this:
<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<system.web>
<authorization>
<allow users="MIKLA\MegaphoneAdmin" />
<deny users="*" />
</authorization>
</system.web>
</configuration>

Could anyone help me to accomplish this?!?!?
Regards Magnus


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
website restricted to fixed public IP or to only PC wth predefined configuration Kausar Parveen ASP .Net Security 4 05-31-2006 05:49 AM
Open restricted files from Eclipse bobrics@gmail.com Java 0 02-27-2006 02:56 AM
Simple website with open and restricted area Magnus Blomberg ASP .Net Security 2 02-21-2006 09:18 AM
Add point to graphics area without having to paint the whole area? Mark Java 1 06-27-2005 03:09 AM
Problem getting javascript code working on js restricted website Richard Silverstein Javascript 0 09-18-2003 05:09 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57