I have a 3.5 .net site running forms authentication on a folder named "portal". Once the person has logged in successfully all code runs from within that folder, and everything works very well.
However I recently installed sigma grid and it uses a JSON type call to data.aspx to populate the grid. It worked just fine until a client tri...
I have the usual requirement of implementing Authentication and Authorization. I used to implement it using custom code where I have Users, Roles, Role_Pages, User_Pages, and User_Roles. So this way we can give a certain user roles (that group multiple pages) and/or directly define access to certain pages. All that with the ability to sp...
Why do I need to pass a username to this method? I just want the url that was redirected from for forms authentication...
FormsAuthentication.GetRedirectUrl
...
My requirement is that only the login page and the Register page should be accessible from anonymous users.
I have created a new ASP.NET MVC project using the default template in VS2008.
After that I have enabled security adding this section to the web config:
<authorization>
<deny users="?" />
</authorization>
Now t...
I've got a small problem.
I have an apache reverse proxy serving to a backend IIS6 server. All sites work fine bar one.
If I by-pass the reverse proxy the site works fine. If I go through the reverse proxy ( this is all in the same network and the site works fine directly from the proxy server ) I get back an http status : 400 Bad Reques...
Hello.
I'm trying to integrate authentication between WPF application and Silverlight application.
The users will login in the WPF app first, and they should be authenticated when they run the silverlight app from the browser.
The silverlight app is using forms authentication.(through WCF RIA Service)
The main application is Silverligh...
I am having problems with my login page. It pulls through the Username correctly from the cookie, however the CheckBox for Remember Me does not become checked when I view the page, even though the code for setting it on the Page_Load is being executed.
LoggedIn event for setting the cookies
protected void lLogin_LoggedIn(object sen...
I modified the ASP.NET login control to also allow specifying UserRole ('Employee' or 'Volunteer'). Users are authenticated via a call to a webservice written by our client, which accepts username/password/role and returns true or false.
If role is 'Employee' it represents an active directory user. The application should impersonate th...
I have a desktop app
I authenticate using the wcf authentication service login method, by calling the desktop application.
Everything seems to work.
I then open internet explorer and try and browse to a protected page.
I get bounced to the login.
Why? How can I authenticate using the WCF Service?
...
Will setting e.isAuthenticated to true be enough to set the forms authentication cookie?
this is in the AuthenticationService.Authenticating event of the wcf authentication service.
...
I want to call my AuthenticationService from the code behind of my .net application. This is the build in wcf forms authentication service.
How can I do this?
I can't seem to figure out how to instantiate it.
...
Hi,
I'm currently integrating a web application into a customers network. The application has been successfully used many times.
But here we've got the following problem:
If the login page is requested just by the hostname everything works fine, but if the FQDN is used the login page just reloads withous doing anything. There's no erro...
Hi!
I have some problems with getting my website to log out the authenticated user automatically when the session ends (the user closes the browser).
This is what I have in my web.config:
<authentication mode="Forms">
<forms name="AuthCookie" protection="All" loginUrl="~/default.aspx" path="/" cookieless="UseCookies" timeout="2592...
Hello all,
I've been implementing the Forms Authentication in ASP.NET with C# (v3.5).
I created a simple login form, when the users' email & passwords are stored in my SQL db.
When I login in my localhost, everything works just fine, but when I published the project and uploaded it on to my production web server, things got a little b...
I have configured an intranet using Claims based authentication and an extended internet site using forms based authentication in SP 2010
All is set up and working except logging out...
I have a loginstatus control which I have placed a linkbutton inside the loggedin template.
When I click the button to log out, I have used:
Session....
I want to remove "returnurl=/blabla" from address bar when a user want to access to a login required page. Because I'm trying to redirect the user to a static page after login to do some selections.
How can I do that?
...
Hi, I'm developing a MVC2 application and using Forms Authentication on it.
The scripts, images and styles are all blocked to unlogged users and, consequently, the login page looks awful.
It works well local, the problem is when I publish to the server.
Does anyone has any idea WHY????
PS: The server IIS is version 7.5
My Web.config...
I have a site on MOSS2007 with a single zone (Default). I have set up forms based authentication with our active directory store using the LDAP membership and role providers and configured central administration with the providers so that the people picker can properly search folks.
To test access, I first made my account (provider:user...
I'm trying to get authenticated using the the Authentication Service and my Membership Provider. Ideally I want to call my membership provider, but I bomb out before hitting my provider. Says a token cannot be validated. Checking my error log, it appears I'm trying to Authenticate using Windows auth. That's not what I'm intending to do. ...
Hi Guys,
I have a Facebook Connect (FBML) web application that has been live for a while now.
All is working well, however user's are reporting issues with the single sign on (and i have seen the issue on their computer, but have not been able to replicate locally).
With FBC, there is a "event" you can hook into to automatically dete...