Web Forms :: How To Provide Security In WCF
May 7, 2015How to provide security in wcf in different ways(certificates,tokens and more) including transport level and message level?
View 1 RepliesHow to provide security in wcf in different ways(certificates,tokens and more) including transport level and message level?
View 1 RepliesI have a site We have different Pages under one folder. we have stored these pages information in a database table with pageid. Then we have User access table. there we store userid and pageid , for which pages user has access. Now I need to provide access to that pages only .
View 8 Replieshave been facing a problem in passing credentials to a web service. I have searched a lot on it and found solution but they didn't work for me coz the scenario with me little different I believe.The situation is like this. I have a 3rd party web service "https://3rdpartyserver/virtualdirectroy/service/service.aspx".So when I try to browse the service in IE it takes me to the login page ("https://3rdpartyserver/virtualdirectroy/Loginpage.aspx"), when I enter usename and password in it and hit Log In button it takes me to the service where all the web methods are listed
View 3 Repliesam developing website in that website no.of users are there every user contain related data, the data should be in xml files ,how to provide authentication every user by using xml files .how to write xml file names in web.config in sql we can use connectionstring
,in xml how we can write them give examples.
i want to provide a login page in my website .....
after login i must be able to send email to the email id of new user .....
how to provide this so that when the users clicks the activation mail in his acount he should be transfeered to the login page.....
i want the code in c# and sql server express 2005
I have a custom security module which is retrieving the applicationName of the defalut Membership Provider. I am using this value for convenience only. I mean, sometimes, I will authenticate the user as per "Windows Authentication" where there is no Login Form, and yet, I need to access the "applicationName" of the membership provider.So, in some of my applications, I am not using a memberhsip, and I leave it empty. And I found out that if the <membership> is not defined in web.config, it will default to "AspNetSqlMembershipProvider" type "System.web.Security.SqlMembershipProvider".I can add an key in <appSettings>, but I like to using the applicationName of the default membership provider, becuase in other applications I am using Forms Authentication, with a custom membership provider.If try to setup a dummy memberyship provider, I will get error that the connection string is empty.How I can set the "applicationName" property in web.config if I am using "Windows" authentication, and I have no membership provider ?
View 1 Replies[Code]....
View 4 RepliesHow I provide Security In wcf . I have Cleared All the binding,Endpoint,Contract Concepts.
View 4 RepliesHow to provide authentication based on a Active directory security group for a ASP.net webpage. I am using c# laungauge and .Net framework2.
View 3 Repliesin my masterpage I have the following:
<asp:SiteMapDataSource
ID="MenuSiteMap"
runat="server"
ShowStartingNode="False"
SiteMapProvider="SpanishSiteMap"
/>
In My code behind I want to provide the SiteMapProvider instead of having it hard coded from the aspx page. What would the code look like to replace in thie case 'SpanishSiteMap' and have that come from code behind in c#? I thought something like this but i know this is way off. hopefully someone has a one liner code that will give provide some sleep. I've come closer to a working code. this is what i have... but get the error mentioned below.
MasterPage myMasterPage = (MasterPage) this.Master;
// do a find control on myMasterPage and find the siteMapDataSource
SiteMapDataSource mySiteMapDataSource = (SiteMapDataSource)myMasterPage.FindControl("MenuSiteMap");
// now u have the reference to the siteMapDataSource used in the master page how do I set the provider..
mySiteMapDataSource.Provider = "SpanishSiteMap";
Error: Cannot implicitly convert type 'string' to 'System.Web.SiteMapProvider'
in my webpage textbox is there in that text box provide regular expression like Ord1,Ord2,means
first three charcters alphbets,the first alphabet stat with Uppercase letter and fourth numerical value dispalyed,
and remaining no need do display any characters when user enters
Where can i find a good source to accomplish this? It needs to allow only excel or csv file uploads, which would be inserted into the database.
View 12 Repliesin my webpage checkbox is there, if am not checked checkbox when am submit the button click it will
come alert message or it will give an error msg .
I have bound data to text values of many textboxes using dataset as follows,
[Code]....
Now I want to provide a navigation system such as first, previous, next, last buttons as there are many rows returned from the query. I tried but could not succeed.
i need to provide tooltips for dropdownlist items,
so how to provide tooltips for ddl items,
My application requirement is, there should be different Layout themes (not only colors but also controls can be at different location), which user can easily change. How I can do that?
For eg. In wordPress there are different layout themes,
How should be the site folder structure? How I can implement that?
I've basically got 2 applications. One is my back office application (Admin) and the other , the front end application (web site)
My problem is that, the admin uploads 'n' number of photos ,which is stored in one of the folders within my back office application and the path is stored in my DB as , for example : ~/Uploads/test.jpg.
But it is not possible for me to access this image from my front end application because the path actually exists in my back office app. How do i get to view the images that I uploaded on my front end Appn. ?
How to provide an alternate image when the original image is missing ....
View 1 RepliesI am trying to create a list view to provide functionality similiar to the pages in this article(will end up being much simpler in my case)
[URL]
Basically I need three columns. Column 1 will be populated on page load with a list of user names and some data. Clicking on a user from column 1 will query for data regarding that user and bring back multiple rows to be displayed in Column 2. Clicking on data from a row in column 2 will return rows to be displayed in column 3. I am just curious as to how some of you guys would approach this. Ive looked at grouping templates and some articles regarding listviews with multiple rows but. Would it be easier to use 3 seperate listviews? Any ideas or articles to point me in the right direction?
i've got a gridview and sql datasource. Its connected to a stored proc that has four optional parameters. In VS when i set up the data source, if i use the test option, and dont supply any values for the sproc, it returns all the values in the table which is what it should do. Now when i try to fill the gridview, it wont return anything at all unless i provide values for all 4 parameters.
It's not even trying to search because i had sql profiler open and nothing shows up until i provide all 4 values. any idea why it's doing this? How do i get it to actually bind even if provide less then all 4 (or none) of the values?
I have a page with a table and two button with the names (Submit and Add Rows) When I click on Add Row a new row will be added to a page(This is achieved using javascript), when I click on submit button I will be doing server side validation. If I found any error the error will be displayed on the page. During this process the controls which were added by me were loosing its state. As a result I need to add the rows once again and need to fill the data and click on submit button. Can any one let me know how to avoid this and see that the controls donot loose their states. So that there is no need for me to create rows once again if any validation fails on the server side.
View 1 RepliesDoes LabelFor look for a template? Is it possible to provide a template for LabelFor?The issue i have is the "for" attribute of label matches a field "id" attribute. In the case of radio or checkbox lists my id's generally take the form of "propertyname_0", "propertyname_1" etc. Simply referencing "propertyname" in the for attribute is not effective.
View 5 Repliesi want the logic for rating.
View 1 RepliesI landed on a job to continue working on exisiting asp.net 3.5 application using Visual Studio 2008. The former .net developer is no longer around and I have to dig into the application code to understand how the app works( workflow, logic, etc...)I have added new development to the existing application and enhanced existing pages. Now, I need to provide Technical documentation for the application so any new developer comes onboard will not struggle enhancing the app or do new development following the same methodology . Q1. What is the best approach to provide technical documentation.I thought of the following
View 1 RepliesI have a silverlight application and I want to provide windows authentication to the application through WCF.
View 1 Replies