CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > general_asp.net.getting_started Tags:
Item Type: Date Entered: 1/22/2004 8:01:35 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 18 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
"kristouf" <>
NewsGroup User
Authentication in ASP.NET1/22/2004 8:01:35 AM

0

Hi all,

My website contain 3 parts :
- 1 front office which anonymous users could see all the pages
- 1 back office which only admin could see the pages
- 1 part of teh website which only authentificated users could go.

In order to create this security, I want to use :
in my web.config

<authentication mode="Forms">
<forms name="AdminLogin" path="~/Admin" loginUrl="~/Admin/AdminLogin.aspx" protection="All" timeout="30">
<credentials passwordFormat="Clear">
<user name="dalche" password="admin"></user>
</credentials>
</forms>
</authentication>


but in this case, all my pages require a authentification.

Is it possible to say :
in public directory, no authentification,
in private directory : authentification by data contains in sql server
in Admin directory : authentification by Simple forms-based

Thanks for your esponses...

Séb
"almir_1" <>
NewsGroup User
Re: Authentication in ASP.NET1/22/2004 8:51:45 AM

0

What you need is role-based security in ASP.NET

Have a look at this article:

http://www.4guysfromrolla.com/webtech/121901-1.shtml
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:













initialize directoryinfo object to the current directory.

creating a database programmatically through code behind

need details about ms sharepoint

vb --> c#

how do i write this statement correctly

can findwindow() be used in asp.net?

trivia game help!

in calendar control....

what is autoeventwireup

debugging with authentication mode="forms" switch on

about detaching .cs file from .aspx

going crazy! how do i connect to my database from a live internet webform?

direct variables into html code or labels?

parser error message: could not load type 'masterpage'

master page question

formatting phone number

good book for c# using vs.net

wrong textbox price

run website application

how long user stayed on a page

regular expression

any mature email newsletter list servers for asp.net?

what is the best uml tools that integrate well vs.net

passing variables between pages

custom validator problem (asp.net 1.1)

error in aspx for web service

page variables and user controls

how to hide and show login form...

paging inner gridview

calling a webservice

multiple code-behind for multiple aspx pages?

simple string manipulation - substrings

need advice

web reference, works on local, but not shared host

setting the "user-agent" header --please help!

how do i output a value inside an html table tag

datareader and null values

help with javascript message box in asp.net

response.redirect exception kills transaction?

passing session object to another function

com vs dotnet application

create an admin panel

validation in asp.net

customer satisfaction survey.

hiding controls in asp.net page

enableviewstate="false" doesn't work

no overload for method 'function' (sqlsearch) takes '0' arguments

global.asax

excel problem

can i add an arraylist to a session var?

   
  Privacy | Contact Us
All Times Are GMT