Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User name and windows NT4

Status
Not open for further replies.

vandedn

Programmer
Sep 6, 2000
2
LU
Hi,

thank you for reading this message.

I would like to know how to detect the username of an user (username given during the launch of NT4) by a javascript ?

Has someone an idea ?

Thank you in advance

Best regards
Daniel
 
This "feature" where is't available (may be you can do sumething like this in buggy explorer) is huge security hole. [sig][/sig]
 
Yes, of course, you can consider that this kind of feature as a security hole. However, this action is destinated to give the access to some private HTML pages to a limited number of people inside my organisation (internal network).

A more satisfactory way to do this action is to use a table with the user name, to ask to the user to introduce its userid each time he accesses the pages and to compare the userdid with those present in the table. This can be aesy done with Coldfusion e.g.

However, I think that this way is too heavy for two pages html and for 5 users. More over, the access to these pages can be simply verify using a referer redirecting any people to a index page to verify if he has the right to view the pages in the case where an user goes directly to these pages.

These were the reasons why I tought to this "simple" access control.

In other hand, I understand also that the extraction of such userid could represent also a security hole for NT4.

[sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top