CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 dik

Print topic Send  topic

Author Message
dik mus
Posted: 01/12/2006, 5:42 AM

Hi,

I am using codecharge for building applications that run on a company's intranet.
This works fine, but I would like to replace the standard login screen by a auto login of the users windows-username.
Anybody knows if , and how this can be done?

Thanks Dik
dragoon


Posts: 173
Posted: 01/12/2006, 6:57 AM

then don't use a login form at all; just set IIS site to Integrated Authentication and that's all
View profile  Send private message
dikmus

Posts: 19
Posted: 01/13/2006, 5:23 AM

thanks dragoon,
that would indeed be a simple solution.

But I need to work with different security groups. Where do i make them, and How do i maitain these, also how do i set within codecharge wich groups can access a certain page?


_________________
www.musit.nl
View profile  Send private message
E43509

Posts: 283
Posted: 01/13/2006, 6:53 AM

make a default.aspx page do some work before it redirects you to the working page.
Have the default page grab the server variable for the user in the windows authenticated directory that you have set up for your web app

REMOTE_USER
Unmapped username string sent in by the user. This is the name that is really sent by the user as opposed to the ones that are modified by any authentication filter installed on the server.

AUTH_USER
Raw authenticated username.

I think that remote and auth user really return the same login id.
View profile  Send private message
dragoon


Posts: 173
Posted: 01/13/2006, 8:32 AM

Quote dikmus:
thanks dragoon,
that would indeed be a simple solution.

But I need to work with different security groups. Where do i make them, and How do i maitain these, also how do i set within codecharge wich groups can access a certain page?



I am in similar situation. I only develop at this moment just apps that are part of the intranet..

i usually keep my users in a table that is sync-ed with the AD based on their security identifiers (AD uniques: objectSid, objectGuid). beside information like samacountname, name, email, department phone...and so on that is retrieved from AD, I keep columns like security level where I define my own security groups and other custom information application related.

on the default page I define a session var where I keep the security level...and I'm applying where is the case; for denying pages in the Afetr Initialize event for that page, for example.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.