Solved

HOW TO IN C#

Posted on 2004-03-23
11
174 Views
Last Modified: 2010-04-15
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
Comment
Question by:dentrita
  • 4
  • 2
  • 2
  • +2
11 Comments
 
LVL 15

Expert Comment

by:Timbo87
ID: 10660844
0
 
LVL 2

Expert Comment

by:pippothegreat
ID: 10660973
the perfect solution

http://www.archives.com
0
 
LVL 2

Expert Comment

by:pippothegreat
ID: 10661010
just kidding im in a good mood today(dont go to that site) its http://archive.org
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 1

Author Comment

by:dentrita
ID: 10661036
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
 
LVL 1

Author Comment

by:dentrita
ID: 10661150
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
 
LVL 15

Expert Comment

by:Timbo87
ID: 10661179
You can set a folder's authorization mode and get popups like that only if you have access to IIS Manager.
0
 
LVL 1

Author Comment

by:dentrita
ID: 10661219
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
 
LVL 20

Expert Comment

by:TheAvenger
ID: 10661507
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
 
LVL 1

Author Comment

by:dentrita
ID: 10662064
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
 
LVL 20

Accepted Solution

by:
TheAvenger earned 125 total points
ID: 10662093
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
 
LVL 2

Expert Comment

by:eric_duncan
ID: 10691492
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

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Diagnostics with Net and Net.Sockets 2 31
how to convert MM/dd/YYYY hh:mm:ss AM to YYYY-MM-dd datetime format by linq? 4 76
Question! 4 39
SqlDataBase 7 53
Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question