Hi!
I’m adding authentication for my WCF services, and I’m looking at the UserNamePasswordValidator and the Membership Provider, for me it seems like they do the same, but you get a lot more user function when using the Membership Provider. Since I only need the user/password authentication, my DB has all the user and role data, I was j...
I'm using ASIHttpRequest API to communicate with my WCF services. The WCF services are set up as webHttpBinding so I can communicate in basic JSON without SOAP.
This is the code I'm using to talk with the service and pass along user credentials:
NSURL *url = [NSURL URLWithString:@"http://allseeing-i.com/top_secret/"];
ASIHTTPRequest *...
My current ASP.net 3.5 site uses a Membership Provider to manage authentication for the entire site defined in the web.config.
I want to provide an additional method to authenticate by passing user params in the URL
ex. http://site.com?user=foo&pass=bar
What is the best method to achieve this, also this must be able to be invoked ...
I can use forms authentication in ASP.NET without membership.
i.e:
FormsAuthentication.RedirectFromLoginPage(usuario.UsuDs, false);//usuario.UsuDS is the textbox username in login's form
Then i can write code like:
[Authorize(User="UserTest")]
public ActionResult Criar(Usuarios usuario)
{
try
...
How to people go about managing users when some people login via facebook connect (or openid etc) and other members who actually register on the website.
From what I understand, those logging in via facebook connect will have limited data like just their username correct? You won't have even their email addy.
...
Do I need to make a Custom Membership Provider or is there another way?
I have a project using ASP.NET Forms Authentication and the Microsoft SQL Membership Provider. The website is DONE. I use this provider everywhere. (Register, Login, Forgot Password, etc...)
Until now, my website users have not needed complex passwords. The users' p...
If I understand correctly, the __cmp__() function of an object is called in order to evaluate all objects in a collection while determining whether an object is a member, or 'in', the collection.
However, this does not seem to be the case for sets:
class MyObject(object):
def __init__(self, data):
self.data = data
def _...
Hello,
I cannot display the Question Template on my page with the PasswordRecovery Control. I only get the UserName View.
Can anyone tell me what I am doing wrong?
I have added many users, but only a few have a queston and answer right now because they are imported from an older system.
Any help would be greatly appreciated.
I have...
I've written a custom membership provider for asp.net that has been working really well, but I just added the password recovery control to my site and found that when the username entered doesn't exist the UserLookupError doesn't fire and I can't seem to figure out what causees this event to fire using the normal aspnetmembership provide...
Hi,
I am creating my own website and blog and I want for first time just me in database (my name and password) and maybe later some registration for others but first log in just for me and administration with authorization. I don´t want to use Membership from MS. I want try to create my own from start so I am looking for guide for beginn...
I ran the aspnet_regsql application with the option -sqlexportonly to create one file with all the create scripts combined. If I run this file on a normally attached SQL Express database it seems to run, but I get a few warnings:
Cannot grant, deny, or revoke permissions to sa, dbo, entity owner, information_schema, sys, or yourself.
...
I'm an absolute beginner with ASP.NET MVC and I'm trying to build a pretty simple application, but I'm having a hard time getting out of the webforms thinking.
I need to register users so they can download my application. I need to capture their information in three screens. Rather than write the database from each view, I want to aggre...
I've got a small problem with my app design and MVC membership.
In my site I have 3 tables: users, customers and authors, none of them are related to one another but each of them is connected to a bunch of other tables so I cannot really combine them into one big users table.
I'm not sure how to implement the all membership, authorizat...
Hi,
Just spent the last 3 days exploring membership, iprincipal, identity and other goodies..but something is still not clear.
Why it is better to use that incited of simply store a minimize logged in user object in session?
it can hold roles, permissions and other custom properties.
to achieve the same thing the asp.net form auth way ...
I'm getting the following error when calling System.Web.Security.Membership.GetAllUsers() in Windows Console application.
Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.
Integrated security is in place. Impersonation is in use, and the CurrentPrincipal on the calling thread is set to...
We have a production site using ASP.NET built in membership. Now we wan't to extend the tables with some custom properties so we built a custom membership provider using ADO.Net entities.
Everything is working fine, we can create new users and the login controls are also working. We imported every existing user from the aspnet_Membershi...
I am studying membership algorithms and I am working on this particular problem which says the following:
Exhibit an algorithm that, given any regular language L, determines whether or not L = L*
So, my first thought was, we have L* which is Kleene star of L and to determine if L = L*, well couldn't we just say that since L is regular,...
I have a ASP.NET Login Control with Forms authentication.Even after successful Login it does not redirects to destination page.But it uses returnURL and stays at same Login page.How to make Login Control to redirect to specified destination page?
...
I'm using the default SqlMembershipProvider, but I've created a custom MembershipUser class (SoeMembershipUser) because I needed a "DisplayName" property. All the DisplayName does is look at the UserName and format it differently.
When I try to cast a MembershipUser to a SoeMembershipUser user I get an InvalidCastException. Exact error ...
Hi all, plz help with one issue.
I have Membership configured with IIS7, tables for it located in my own database, created with aspnet_regsql utility, and I am using custom connection string to access it.
This is part of web.config related to Membership :
<connectionStrings>
<add connectionString="Server=CORESERVER\SQLExpress;Data...