integrated windows authentication in asp.net using C# [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want to add integrated windows authentication feature to my asp.net app. I dont know how to add it. I am developing it with C#. Please help me out.

Inside a default project's web.config file, there should be an <authentication mode="x"> element. Change the mode to "Windows" and you should be all set -- but this just allows users from your network to access the app. You'd still have to create roles and/or groups to prevent access to certain features or areas.

Related

How can I create a Method to create a database Record using Javascript? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I need to create a method to create a databaserecord. I have no idea how to work on javascript that's why I'am looking for someone who can help me out. Thank you.
values are Thank you.
(layerNo, tableID, itemID, type, keyValue)
The database will be updated from your C# code. Javascript might communicate the data to the web application (written in C#). The web app would typically perform the actual update. For a C# / ASP.NET web application, this could be done using ADO.NET or by using Entity Framework.

How to make two asp.net web applications have the same domain? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am new to asp.net and am trying to work on an application that uses another separate child application. I need to know how do I configure the application domains for the 2 apps to be same?
Thanks in advance.
Use virtual directory in iis.
In IIS, you can create sites, applications, and virtual directories to
share information with users over the Internet, an intranet, or an
extranet. Although these concepts existed in earlier versions of IIS,
several changes in IIS 7 and above affect the definition and
functionality of these concepts. Most importantly, sites,
applications, and virtual directories now work together in a
hierarchical relationship as the basic building blocks for hosting
online content and providing online services.

No Filters folder in MVC4 Project? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I am following a tutorial on using the Web Api and it is asking me to expand the Filters folder , the problem is I cant find this folder anywhere within my project.It is needed to add some authorization to the project.Anyone know why the filters folder isnt in my project?.
Internet Application and Single Page Application project templates for ASP.NET MVC 4 have a Filters folder. If you created the application with some other template, you may not get this folder.
For authorization you can use Authorize Attribute at the controller level or action level or at application level. It authorizes the user, and if not redirect to login page as described in web.config.

webapi with oauth, revoke token? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
Hello all im following this article here to implement a webapi with individual accounts using the owin oauth.
Link
My question is there any way to revoke a tokens access to the webapi the "sign out" method really does nothing from me since ill be accessing this webapi through a phone app. Thanks for any info !
Revoking tokens is hard - but you can limit their lifetime and refresh them periodically. see here:
http://leastprivilege.com/2013/11/15/adding-refresh-tokens-to-a-web-api-v2-authorization-server/

How to integrate asp.net web application with Google Drive? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have existing web application in asp.net, now i like to add Google drive to my web application. Is it possible or not in asp.net web application. If it is possible, please help me. Thanks in advance.
Did you even bother to look at the drive sdk before asking? Right in the front page of the sdk there is a complete .net sample for drEdit and all apis in help contain a sample in .net as well.

Categories