authentication

I accidentally deleted all the logins in my SQL DB, now I am unable to connect.

Is there anyway to get in the server and recreate them? ...

Evaluating user management options.

I am working on a web application (C#, VS2008 with Entity modelling) and within about a year from now, they will ask me to add some login/authentication/authorization options to this site that can be managed through the site. Which is fine by me but I would like to know some good ways to implement such functionality. Visitors for this s...

HTTP Digest authenticating in PHP

I want to authenticate to another site using HTTP Digest authorization in PHP script. My function has as parameter just content of the WWW-Authenticate header and I want to generate correct response (Authorization header). I have found many examples that explain how to implement this the other way (browser authenticate to my script) but...

Record user Login to a ASP.NET MVC Aplication

I am developing a ASP.NET MVC aplication and I need to record the history of logins of a User. I need something similar to the last seen here in Stack Overflow (I will be keeping the history, I don't know if SO does this). I want to know what is the best way to do it? Global.asax: Application_AuthenticateRequest, Application_AuthorizeR...

Is there a way to use SSL only during authentication?

Is there a way (on IIS 7) to use SSL during basic authentication, and then somehow go to a non-SSL session? We have an intranet app which users have requested to have visible outside the organization, so we need to SSL encrypt the basic authentication process, but there's no real need to encrypt the rest of the session and don't want to...

ASP.NET Website Losing Session Variables When Loging In With IE

Hi, I am trying to fix an ASP.NET application that is also written is VB and uses session variables to store the information from the logging page. In Firefox, the application runs just fine, but in IE (I am using IE 8), when I summit the logging credentials, the session variables become empty (takes me back to the logging page). The ...

Feed access control

Is there a sensible setup for private feeds (rss or atom) with some sort of security and authentication? The application in question creates "private news" with sensible information for each user and the request is to present these news via feeds. Only the user may gain access and read his news and should be able to subscribe to then. ...

SVN authz, path-based authentication woes

[groups] developer = a,b,c doc = r,x [/doc] @doc = rw @developer = rw [/] @developer = rw * = If now a member of the group doc tries to check out the documentation, it does not work. I want members of doc just to be able to check out the sub-dir doc, anything else is forbidden. Any ideas howto achieve this? kind regards ronny [up...

check if user is logged in

Hi, I have some basic code that I place at the header of every page to make sure that the user is logged in. I was hoping someone could take a look at it and give me some suggestions: if ($_SESSION['logged_in'] == 1) { $handle = dbconnect::init; $result = $handle->select()->from('session_id') ...

Get the Current User in asp.NET MVC so I can check what to do in User Controls

I am using ASP.NET MVC for a project. I use a lot of User Control and I need to check the current user and the check if it has the roles etc, now I create the user in every UserControl I see the Permissions. I want to change that so I create it only once. the Question is Whta is the best aproch? viewData["User"] = user and the get the ...

Authentication of a C# client with Windows Integrated Authentication over JBoss on Linux server (using WS protocol)

I have a very complex architecture and I need some clarifications about the Windows Integrated Authentications and its capability. I have fat C# client that needs to call an EJB3 in JBoss (on Linux) via WS. This is very easy to implement, but when I have to design the client authentication here is the problem. I don't want that my WS wi...

jquery remote tab and asp.net forms authentication

Hi, I am using jquery remote tab in my asp.net application.So each tab will load an aspx page on click.I have implemented forms authentication in my application, so after authentication time out, if i click on a tab, the login page gets loaded in that tab instead of the actual page(which is the correct behavior).But i want to prevent thi...

How to override j_security_check in glassfish?

I'm currently using FORM based authentication in glassfish v2.1 to log users in and it works fine. I want to switch to ProgrammaticLogin and I want to be able to get the initially requested URL (i.e. before redirecting to login page) and use it in my programmatic login code so that the user is redirected back to the requested page after ...

How can I use asp.net forms authentication to authenticate a Google/OpenSocial Gadget

I have a web site that uses Asp.net forms authentication to login. I need to enable users to login and interact with the site via gadgets using the same authetnication/authorization schema I use on the site. I could not find any good information regarding asp.net authentication and google gadgets. How can I make the gadgets login using...

User Authentication And Text Parsing in Python

Well I am working on a multistage program... I am having trouble getting the first stage done.. What I want to do is log on to Twitter.com, and then read all the direct messages on the user's page. Eventually I am going to be reading all the direct messages looking for certain thing, but that shouldn't be hard. This is my code so far ...

How to call a web service using stored credentials?

I need to call a web service running in a Windows domain that is different than the one the (Windows Forms) client is running in. The web service is secured using Windows authentication. The domain credentials for web service's domain are saved in the client's user profile (Saved user names and passwords in XP), but I have not been ab...

How to secure webpages in ASP.Net with roles?

In my application I have different roles and offcourse multiple pages. How do I secure webpages that may not be accessed by certain roles? Imagine group 1 has access to webpage a.aspx, b.aspx and c.aspx but not to webpage d.aspx. How do i secure that when a user of group 1 types in d.aspx he cannot view the page? ...

Crystal Enterpise 10 - Default NT Domain

I am trying to change the Default NT Domain on our Crystal Enterpise Server setup. But everytime I try it I get this message: Error Error updating Windows NT authentication properties: NT Authentication failed to verify one or more of the mapped groups. If the problem persists, please delete and re-map into Crystal Enterprise the fol...

ASP.Net MVC: IAuthorizationFilter/Attribute prefered security check for login?

Is IAuthorizationFilter coupled with an attribute the preferred way to check if a user is logged in before a controller runs it's course? Since I'm new to MVC I've been trying to figure out how to handle situations done in WebForms. The one I ran into yesterday is checking to see if the user is able to view a page or not depending on w...

JNI Call to Authenticate user using LogonUser?

Hey Folks, C++ noob here wonding how i can authenticate a Windows User via Java servlet. Here is the code i have put together to take in a JNI call from my java servlet with the user's username domain and password: #include <stdio.h> #include <string.h> #include <sys/stat.h> #include <stdlib.h> #include "Validate.h" JNIEXPORT j...