Click here to Skip to main content
15,896,339 members
Home / Discussions / Web Development
   

Web Development

 
QuestionScripting Languages Pin
JimmyRopes14-Feb-06 10:43
professionalJimmyRopes14-Feb-06 10:43 
AnswerRe: Scripting Languages Pin
Jeremy Thornton14-Feb-06 12:06
Jeremy Thornton14-Feb-06 12:06 
GeneralRe: Scripting Languages Pin
JimmyRopes14-Feb-06 20:44
professionalJimmyRopes14-Feb-06 20:44 
GeneralRe: Scripting Languages Pin
Stephen Hewitt16-Feb-06 18:46
Stephen Hewitt16-Feb-06 18:46 
GeneralRe: Scripting Languages Pin
Jeremy Thornton18-Feb-06 6:14
Jeremy Thornton18-Feb-06 6:14 
Questionto change email_id's Pin
vivek132314-Feb-06 9:09
vivek132314-Feb-06 9:09 
AnswerRe: to change email_id's Pin
JimmyRopes14-Feb-06 20:55
professionalJimmyRopes14-Feb-06 20:55 
QuestionGroup membership / Windows authentication question Pin
dels_cpp14-Feb-06 6:43
dels_cpp14-Feb-06 6:43 
Hi, I am currently trying to complete a 90% working Intranet site for my company and the developer left a long time ago.

The site has been developed with ASP.net and C# both of which I'm not familar with but trying to piece my way with my J2EE background.



The main issue I have is that the site was supposedly developed with security features to restrict access to pages / parts of pages based on the users' AD Group Membership.

The developer had the following in the web.config file


<configuration>
....
<appSettings>
<!-- internal security to Active Directory group mapping -->
<!-- all mappings are in the format:
<add key="[internalRole]" value="[Active Directory Security Group]" />
-->

<!-- Standard user groups -->
<add key="iUser" value="OurDomain\Domain Users" />
<add key="iUserIT" value="OutDomain\IT Dept" />
...
<configuration/>


However nowhere in the rest of the application with code or config files can I find any reference to anything such as iUser, iUserIT etc etc.


The config file shows that Windows as opposed to Forms based authorisation is used and I have been searching the web for tutorials and found that "Roles" can be used to restrict access to a particular directory / file by using a construct as follows,


<location path="myPage.aspx">
<system.web>
<authorization>
<allow roles="AdminRole" />
<deny users="*" />
</authorization>
</system.web>
</location>



I have a number of questions :

1) If I can define as above which Role can access each resource, how/where do I define which windows Group pertains to each Role?

2) Is there a simple way of using the Users windows account to look for a particular Group, ie so that I can stick a function at the head of certain pages to allow / deny access to content based on their AD Group membership.
I'm sure this should only be a 4-5 liner but I haven't been able to find anything so far.


Any help would be greatly appreciated,

Damian Del Campo
QuestionABOUT WEBSITE Pin
vivek132314-Feb-06 1:57
vivek132314-Feb-06 1:57 
AnswerRe: ABOUT WEBSITE Pin
vivek-g15-Feb-06 0:36
vivek-g15-Feb-06 0:36 
Questionsearching word or text in web page using ASP Pin
vivek-g14-Feb-06 0:32
vivek-g14-Feb-06 0:32 
QuestionRe: searching word or text in web page using ASP Pin
CWIZO14-Feb-06 1:39
CWIZO14-Feb-06 1:39 
AnswerRe: searching word or text in web page using ASP Pin
enjoycrack14-Feb-06 19:36
enjoycrack14-Feb-06 19:36 
QuestionModal Dialog Box Pin
nokiasony13-Feb-06 22:04
nokiasony13-Feb-06 22:04 
GeneralRe: Modal Dialog Box Pin
Guffa14-Feb-06 22:00
Guffa14-Feb-06 22:00 
GeneralRe: Modal Dialog Box Pin
nokiasony15-Feb-06 23:34
nokiasony15-Feb-06 23:34 
AnswerRe: Modal Dialog Box Pin
Guffa16-Feb-06 12:58
Guffa16-Feb-06 12:58 
GeneralRe: Modal Dialog Box Pin
nokiasony16-Feb-06 18:11
nokiasony16-Feb-06 18:11 
AnswerRe: Modal Dialog Box Pin
Guffa17-Feb-06 13:07
Guffa17-Feb-06 13:07 
AnswerRe: Modal Dialog Box Pin
DJLarZ16-Feb-06 3:00
DJLarZ16-Feb-06 3:00 
QuestionText not wrapping to next line. Pin
pankazmittal13-Feb-06 11:32
pankazmittal13-Feb-06 11:32 
AnswerRe: Text not wrapping to next line. Pin
George L. Jackson13-Feb-06 13:45
George L. Jackson13-Feb-06 13:45 
GeneralRe: Text not wrapping to next line. Pin
pankazmittal14-Feb-06 6:29
pankazmittal14-Feb-06 6:29 
QuestionDreamweaverCtrls.dll error after uploading to IIS server Pin
evlxtc13-Feb-06 1:50
evlxtc13-Feb-06 1:50 
AnswerRe: DreamweaverCtrls.dll error after uploading to IIS server Pin
George L. Jackson13-Feb-06 13:47
George L. Jackson13-Feb-06 13:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.