• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 182
  • Last Modified:

HOW TO IN C#

I have a web aplication in C# and  in my site as soon as it load i want to ask for the password and user name od the user if it is valid i will display the site if not i will rederect to anote site
i have one example of wath i want but i dont hava idiea of howw to do it
can you give a hand with it

example:
https://www-100.ibm.com/partnerworld/software/pwswzone.nsf/docs/LMCK-5JGQD2?opendocument
0
dentrita
Asked:
dentrita
  • 4
  • 2
  • 2
  • +2
1 Solution
 
pippothegreatCommented:
the perfect solution

http://www.archives.com
0
 
pippothegreatCommented:
just kidding im in a good mood today(dont go to that site) its http://archive.org
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
dentritaAuthor Commented:
Sorry timbo 87 i think that you did not get my idea maybe i did not explain well my self
i need the pop up windo that i put in the example.
if you can give me a hand


Dentrita
0
 
dentritaAuthor Commented:
or if you can browse a windows application in a aspx page ??
and the form in the windows application is my login

Thank you a lot,
Dentrita
0
 
Timbo87Commented:
You can set a folder's authorization mode and get popups like that only if you have access to IIS Manager.
0
 
dentritaAuthor Commented:
yes i have acces to IIS Manager how i can do it , can you give me a example code or something like that i am completly lost

Thank you

Dentrita
0
 
TheAvengerCommented:
Have a look here. You need to use either Basic or Digest authentication of IIS in order to get the popup windows.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsent7/html/vxconiisauthentication.asp
0
 
dentritaAuthor Commented:
hi TheAvenger

I really dont get it sorry about it, do you have a example pice of code , i already read the link that you give me and now i am more lost
can you help me
0
 
TheAvengerCommented:
It's not code, it's security settings of IIS. Go to your page or virtual directory and open the properties window (right click->properties). Then check the Directory security->Edit button. You should disable the anonymous access and enable another type of access. There are a lot of possibilities and they are explained in the link I sent you.
0
 
eric_duncanCommented:
A screenshot of the settings screen is shown below. The picture is actually of IIS 4.0 , which is the version used on Windows NT, but it is very similar to the screen used in IIS 5.0 and 6.0.

http://www.4guysfromrolla.com/webtech/020201-1.2.shtml

You'll have to set Windows accounts up for all of the users in order for this to work.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

  • 4
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now