Hi,
I have an ASP.MVC 2 web page and I have my authentication done like this:
FormsAuthentication.SetAuthCookie(user.UserName, false);
FormsAuthenticationTicket authTicket = new FormsAuthenticationTicket(1, "fooPage" + user.UserName, DateTime.Now, DateTime.Now.AddMinutes(10), false, String.Empty);
HttpCookie cookie = new HttpCookie(F...
Hi,
I would like to use the HTTPS to secure the communication between my client and the server. The first encrypted communication will be used to authenticate the user - i.e. checking his/her user name and password.
After the user credentials will be successfully checked by server I would like to start getting some data in subsequent...
I currently have a web config file in a web service that is using the following code snippet so that it can access resources on Sharepoint
<identity impersonate="true" userName="[domain admin]" password="[password]"/>
Clearly this situation is not a good idea and we are currently replacing this with the correct way of doing things. Ho...
How can i block access to all silverlight pages if user is not logged in, without writing verification code in each page?
...
I would like to call VB6 dll with office automation from ASP.Net using the impersonated user Identity to connect to database as well as launch excel for automation.
I want to pass the NT logged-in user identity to the vb6 dll which make the connection to the database(trusted connection), as it uses NT user info for database security an...
I'm looking for an easy way to enable external authentication for Plone 4 site, it can be RADIUS or local script. Any ideas?
...
I've set up a subdomain for localhost on IIS6 by following instructions from another SO answer.
Now, when my app starts up and I point to the subdomain, the index page itself loads OK, but ajax calls (to a relative path, ex: "/Service/Grid/") are raising an authentication dialog (which refuses to authenticate me, no matter what user an...
Hey all
In all cases we are running .NET Framework 3.5
My company has a server running Windows Server 2003 R2 (Service Pack 2), 32-bit processor. The IIS instance on this machine runs several Websites. One of the Websites we are running is Microsoft CRM 4.
When I attempt to log in to CRM from my local PC, everything's perfectly straig...
I am making a simple web-app which requires login for the admin page. I came across this incantation on the web.py site (http://webpy.org/cookbook/userauth) :
import hashlib
import web
def POST(self):
i = web.input()
authdb = sqlite3.connect('users.db')
pwdhash = hashlib.md5(i.password).hexdigest()
check = authdb.e...
Hi,
First of all, the screen below is the popup window when i requested an asp web page. When i am authenticated, it responses an xml data.
1.What is the type of this authentication method. How is it managed?
2.How can i bypass programmatically(using C sharp) this login screen by supplying necessary credentials.
login screen
...
I have few websites based on the WebForms and one based on MVC. All websites have the same settings for forms authentication in web config.
The problem is that once logged in to WebForms website, I have to re-login for MVC websites, but when I log out from MVC website, I am automatically logged out from WebForms websites.
How can I pas...
Hi!
the app i am currently building needs to perform a login with username and password. I am using the DefaultHttpClient to execute the request and setting the username and password as credentials.
the server expects a htacces-login.
The Result i get is not the Logintoken i hoped for. Instead it returns an Errormessage.
Can anybody tell...
Just started playing with Tornado and want to offer multiple methods of authentication. Currently my app is working fine with Google's hybrid OpenID/oAuth using tornado.auth.GoogleMixin and the unauthenticated users are automatically sent to Google's auth page.
If an unauthenticated user wants to use another option (ie. local auth or ...
After a week of struggling to find out why some of our machines are Authenticating off of our LDAP servers and some are not I noticed that after PAM binds to see if the uid exists it then sends the users password. At the packet level, I can see that when I auth on the machines that are working that I see my password come through. When I ...
I was just wondering how do people manage access to their JSON or other type of APIs. Is there a tool to manage rate limit such as an IP address is allows to access the API 60 times per second.
...
Hi, I just start to learn web programming using IIS 7.5 in windows 2008 R2, and ASP.Net 4.
I notice that both IIS and ASP.Net can define Authentication rules. In IIS, there is a form authentication setting where I can redirect user to specified page for authentication, like below:
And then, in ASP web.config file, I find similar sett...
Hi all, at the moment I am struggling with a bug in Sun's class 'java.net.Authenticator'. It seems that the Authenticator class has a system wide static Authenticator. This results in the following problem in my multi-threaded application.
Thread 1 - Authenticates for User 1
Thread 2 - Authenticates for User 2
Thread 1 - Executes the c...
I came across this issue recently where I needed to change a Gmail's account password programmatically and am still thinking about the ideal approach.
Basically by providing Gmail's current username/password my application would then authenticate and request the password to be changed to a new one provided and return success.
CURL seem...
We are trying to setup Jboss 4 to authenticate users using Microsoft Lightweight Active Directory Service (aka ADAM)
user name: admin
CN=admin,CN=Users,CN=donLaptop,DC=don,DC=com
JBoss can connect to ADAM, but somehow cannot validate the password (fig4)
Using Apache Directory Studio, I can verify that CN=admin,CN=Users,CN=donLaptop,DC=...
I'm trying to host a wcf json service on my localhost on my dev machine, but also want it available to other users on the network for testing purposes. My service works fine when running in cassini, however when running from a virtual folder, I'm getting the error
IS specified authentication schemes 'IntegratedWindowsAuthentication,...