DotNetOpenID - Identity Provider Behind A Firewall?

Aug 2, 2010

Looking at the OpenID protocol, it appears that the relying party needs to send a request to the identity provider. In our situation, this is not exactly ideal since the identity provider is behind a firewall-- our server will not be able to make the request. However, the user accessing our website (client-side, e.g. javascript or redirects) would be able to. So my question is this: does OpenID support an identity provider behind the firewall? If not, is there a secure way of accomplishing this?DIT:The client has a web server behind their firewall. They have employees that visit our website and thus are able to visit our site and their webserver which resides behind their firewall-- our server, however, would not be able to.

View 3 Replies


Similar Messages:

Membership Provider - Get ProviderUserKey In A More Convenient Way Like In User.Identity.Name Case?

Nov 18, 2010

I've created custom membership provider and it is more convenient for me to operate on MembershipUser.ProviderUserKey rather than UserName. So, to retrieve ProviderUserKey I perform such code:

if (User.Identity.IsAuthenticated)
{
int UserID = (int)Membership.GetUser(User.Identity.Name).ProviderUserKey;
}

However, when GetUser() method is executed, user data must be retrieved from database and this is bugging me. This is unnecessery waste of server time, no matter how short this time is, I would like to avoid it. Is there any other way to get ProviderUserKey in a more convenient way, like in User.Identity.Name case? I would like to hear your ideas. How do you solve this problem on your webpages?.

View 2 Replies

WCF / ASMX :: How To Use Web Service Behind Firewall

May 24, 2010

I want to use a web serivice but not able to use it. I think it is due to firewall. how to consume a web service if we are working behind firewall?

View 1 Replies

C# - How To Implement DotNetOpenid In .net Website

Oct 21, 2010

I am trying to implement DotNetOpenid in my asp.net website. However, the more I try to read up on DotNetOpenid, the more confused I get. My initial goal is to allow user login process (similar to StackOverflow). attempted to get some help via this question http://stackoverflow.com/questions/3882248/dotnetopenid-tutorial/3895442#3895442but was unsuccessful (since I am not using MVC)How can I get a tutorial

View 3 Replies

In Dotnetopenid Getting A Null ClaimsResponse?

Aug 9, 2010

i am using dotnetopenid for implementing openid in my page i am facing a problem with myopenid as i am getting a null ClaimsResponse what i am doing in page load

OpenIdRelyingParty openid = new OpenIdRelyingParty();
//fetching response.
var response = openid.GetResponse();
//checking response from openid provider.
if (response != null)
[code]...

View 1 Replies

DotNetOpenId Cannot Work When Publishing It?

Aug 13, 2010

I developed and OpenID authentication system on C#, it worked perfectly on my LocalHost, but when I published it, I keep getting this error messages, what should I do?

Error:System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> DotNetOpenAuth.Messaging.ProtocolException: No OpenID endpoint found.
at DotNetOpenAuth.Messaging.ErrorUtilities.VerifyProtocol(Boolean condition, String message, Object[] args)
[code]...

View 1 Replies

Web Forms :: Firewall And IE Is Crashing?

Mar 5, 2010

am trying to upload video into database,but i click and upload video firewall is crashing and it is same with IE is well.

View 8 Replies

How To Fetch User Detail Through DotNetOpenID

Mar 5, 2011

I am using DotOpenID and I want to fetch user's nickname and email ID for request

protected void loginButton_Click(object sender, EventArgs e)
{
if (!openidValidator.IsValid) return; // don't login if custom validation failed.
OpenID(openid_identifier.Text);
}
[code]...

View 1 Replies

Security :: Communicate With Firewall Using HTTPS Protocol?

Apr 12, 2010

I am new to .net and i'm stuck with the following issue.

I have a windows GUI application and i need to communicate with a firewall using HTTPS protocol. I did some search on google and the results retrieved showed to use HTTPWebRequest and HTTPWebResponse objects.

But does this objects us HTTP protocal or does it work for HTTPS also. also is SSL required for HTTPS protocol. For SSL we need some security certificate. How to retrieve that certificate. Will a certificate need to available in each client machine

View 1 Replies

Configuration :: Links To Documents On Another Server Behind A Firewall

Nov 15, 2010

I have 4 links on my asp.net page which open documents on an internal server which is behind firewall. I realized this was incorrectly designed as these links do work while i am the internal network they would not work for an end user accessing the web site outside the network as the links point to a resource on a secure server which is not accessible outside the network.

View 6 Replies

SQL Server Identity / Largest Number Record Id (identity) Column Can Hold

Jan 1, 2011

I am developing a asp.net application and i am using SQL Server 2008. I took a IDENTITY column as Record_ID for detail table where i will have trillions of records per year. So just want to ask whats the largest number record id (identity) column can hold and in ASP.NET which data type i should use to handle record id as i am using this id as a reference to update the table data. I don't want to end up being trapped some day.

View 1 Replies

VS 2008 Implement Custom Role Provider And Membership Provider

Sep 27, 2010

I have watched the how to video on Creating a Custom Membership provider. So far it works great. My login control interacts well with it etc. Now i've created a Custom Role Provider. I've created a class that inherits the RoleProvider base class and i've added code to each Sub. My question is, what is the best way to implement the role provider, considering I get the Roles etc from the database?

View 11 Replies

Security :: Forms Authentication With AD Membership Provider And SQL Role Provider?

Jul 27, 2010

I am trying to build an application that

1. user can login by their AD account and password.

2. AD account can be assigned to different group.

I know there is a training video - [URL] to teach how to use the tool to provision the membership schema to SQL server for Forms authentication. but how can I use AD authentication with this?

View 1 Replies

Security :: Get User Info With Custom Provider - Use Provider With Profilecommon?

Apr 16, 2010

I try to get the user profile settings with this code. But all items in it are empty, in the database they are not empty. So there is going something wrong. First of oll how can i add a provider to the ProfileCommon ? Maybe i'm there then... the usrInfo is filled well...

MembershipUser usrInfo = Membership.Providers["MyMembershipProvider"].GetUser(UserName,false);
ProfileCommon prf = (ProfileCommon)Profile.GetProfile(UserName);
LitNaam.Text = prf.Voorletters.ToString() + " " + prf.Achternaam.ToString();

View 2 Replies

Security :: Implement custom Role Provider And Membership Provider?

Dec 1, 2010

i have implemented custom role provider and membership provider .

login page : SignIn.aspx

on successful login it redirects to (index-Homepage.aspx)

now PROBLEM is when it successfully logged in ,and redirects to 'index-Homepage.aspx' it gives Anornymoustemplate ..while its verifying the role correctly in index-Homepage.aspx.cs

View 1 Replies

Security :: Difference Between Role Provider And Membership Provider?

Dec 1, 2010

1 - whats the difference between Role Provider and Membership provider ??

2- If we implement Custom Role Provider or Custom Membership provider then what does this means ? and which Provider do we use when we apply custom role provider or custom membership provider

View 4 Replies

Security :: Big Extension Of Membership Provider - Should Use A New Custom Provider

Mar 27, 2010

i'm building an application and i need to manage roles, users and more things so i tought to use the membership provider but i have some questions about it: can i full extend it and can i override the functions to use a database table to store infos about config or i need to build my own provider?

View 4 Replies

Net SQL Membership Provider Custom Provider Property

Dec 16, 2010

<profile>
<providers>
<clear/>
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
</providers>
<properties>
<add name="FirstName"/>
<add name="LastName"/>
</properties>
</profile>

I have the code snippet above in my webconfig file. I am attempting to set the FirstName property in codebehind on a register.aspx page. Like this:

Profile.FirstName = ((TextBox)RegisterUser.CreateUserStep.ContentTemplateContainer.FindControl("FirstName")).Text;

VS says Profile is in System.Web.Profile Namespace. I then use it like this "System.Web.Profile.FirstName", but says first name does not exist in System.Web.Profile.FirstName namespace.

How do I set the property and later retrieve it?

View 3 Replies

Use The Log4net Provider Instead Of Standard IO For The Log Provider?

Sep 13, 2010

I need to log entries into a log file.This should be done in the data access layer.At present,I am using the standard IO for making the log entries.But I need to use the log4net provider instead of standard IO for the log provider.I have added the log4net as a reference to my project.

View 10 Replies

Which One Should Use For "anonymous User Identity" - "specific User: IUSR" Or "application Pool Identity"?

Feb 2, 2011

In IIS Manager center pane, there is an icon titled "Authentication" as follows: Clicking the icon, we get 3 items as follows: Right clicking the Anonymous Authentication and select edit, we have: Question: which one should I use? What is the difference?

View 3 Replies

Retrieve The PK Using @@identity?

Jan 10, 2010

I'm building a website using ASP.NET and SQL Server, and I use

SELECT PK FROM Table WHERE PK = @@identity

My question is which is better and more reliable to retrieve the last inserted PK for multiuser website, using @@identity or using this:

SELECT MAX(PK) FROM Table WHERE PK = Session ("UserID")

View 4 Replies

C# - Getting @@IDENTITY From TableAdapter?

Sep 13, 2010

I am trying to complete a seemingly simple task that has turned into a several hour adventure: Getting @@Identity from TableAdapter.Insert()

protected void submitBtn_Click(object sender, EventArgs e)
{
AssetsDataSetTableAdapters.SitesTableAdapter sta = new AssetsDataSetTableAdapters.SitesTableAdapter();
int insertedID = sta.Insert(siteTxt.Text,descTxt.Text);
AssetsDataSetTableAdapters.NotesTableAdapter nta = new AssetsDataSetTableAdapters.NotesTableAdapter();
[code...

View 4 Replies

C# - Set Identity For Non Web Request?

Feb 16, 2011

I want to set identity for a non web request. Currently I am using FormsAuthentication and I am getting user identity via this User.Identity.Name .

Now I have to make the user login via API. I have the username/password for the user, how can I set the identity for this.

View 1 Replies

ADO.NET :: Get Identity Key With LINQ?

Aug 16, 2010

DataClassesDataContext db = new DataClassesDataContext();
test cust = new test()
{
ID = I need identity key
};

How to get identity key?

View 1 Replies

ADO.NET :: How To Avoid Identity_insert To Set Max Value As Identity

Jan 18, 2011

im using sql server 2008

as per microsoft, [URL]

when i execute the following

set identity_insert on
//insert statements here

set identity_insert off

the identity of the column is set to the maximum value. can i aviod this.

consider the following scenario,

my table has 2 rows as follows

id, name comm
1, John, 232.43
2, Alex, 353.52

now using the above code, when i insert
10, Smith, 334.23

as per the above link, sql server automatically sets the identity to 10. so for newly inserted records(without using identity_insert on), id automatically starts with 11.

i want the identity value to be 3, after using identity_insert on/off

View 7 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved