CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Intranet-Login based on NTLM authenfic.

Print topic Send  topic

Author Message
StormyMonday
Posted: 05/06/2003, 12:05 PM

Hi,
I wanna build a CC app with an user based security.
Because the application only will work on the internal network (WINDOWS 2000) every user can be retreived with his Windows network userame.
For this reason, I do not have to build an additional login-page as Codecharge is offering.

Question; How can I use this NTLM-based loginname for secure access to Codecharge pages ? I wanna make use of the restricted property of each page, because I do not want to invent the wheel for a second time.

Any ideas how to reach this goal ?

Thanks a lot.
Hamilton
Posted: 05/07/2003, 6:20 AM

'Uses NT Authentication
'Example Call: if session("permission") <> "OK" then Response.Redirect "loginfailure.asp"
strUsername=Replace(ucase(Request.ServerVariables("LOGON_USER")) , "\", "/")
set adsUser = getobject("WinNT://" & strUsername)
for each group in adsUser.groups
GrpList = GrpList & lcase(trim(group.name)) & ";"
next
if instr(1, GrpList ,"SecureNTGroupName") then session("permission") = "OK"

Essentially, you can get the NT Login Name, but I don't know about getting the password.

ads = Active Directory Services

Consequently searching the web for "Active Directory Services" + "authentication" may provide more answers.

   


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.