<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tag 'security'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=security&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tag 'security'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: ASP.NET : Securing Web Services</title><link>http://forums.asp.net/thread/3580404.aspx</link><pubDate>Wed, 23 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3580404</guid><dc:creator>HerryAtHotmail</dc:creator><description>&lt;p&gt;hi.&lt;/p&gt;&lt;p&gt;to make&amp;nbsp; secure webservice ,you can pass &amp;quot;UserName&amp;quot; and &amp;quot;password&amp;quot; as Parameter while calling &amp;quot;WebService&amp;quot;, then you can use &lt;/p&gt;&lt;p&gt;&amp;quot;Custom Logic&amp;quot;&amp;nbsp; or &amp;quot;imparative security&amp;quot; or &amp;quot;declarative security&amp;quot; to authenticate Users.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;thanks.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Problem in Outlook Addins while creating a setup</title><link>http://forums.asp.net/thread/3579872.aspx</link><pubDate>Wed, 23 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3579872</guid><dc:creator>prince_gupta</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am facing a problem while i am deploying the setup project for outlook plugins. I am simply displaying a messagebox while outlook starts.&lt;/p&gt;
&lt;p&gt;i have Operating Systam VISTA,Outlook 2007 and Visual Studio 2008.&lt;/p&gt;
&lt;p&gt;Could any one please help me to create the setup in any way.&lt;/p&gt;
&lt;p&gt;Thanks &lt;/p&gt;
&lt;p&gt;Prince Gupta&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Bing API</title><link>http://forums.asp.net/thread/3570716.aspx</link><pubDate>Thu, 17 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3570716</guid><dc:creator>chchinmaya</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; i am new to this functionality could any one give me guidence how to work on bing api......&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>MVC and [Authorize] implications in views</title><link>http://forums.asp.net/thread/3566970.aspx</link><pubDate>Tue, 15 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3566970</guid><dc:creator>brett styles</dc:creator><description>&lt;p&gt;I see the standard view creates a line:&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;%=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;Html.ActionLink(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Edit&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Edit&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; { id=Model.Ref }) %&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;in the view to allow editing the data presented in details. I have attributed edit to&amp;nbsp;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;[Authorize] &lt;/font&gt;and expected the &amp;#39;edit&amp;#39; option to be unavailable unless the user was authorized but this is not the case.&lt;/p&gt;
&lt;p&gt;I want the page to show to all users, but irrelevant options (edit, delete, create) for that user to be hidden if they cannot be users without authorization. Once a user is authorized, then these options should appear.&lt;/p&gt;
&lt;p&gt;Is there an attribute I can apply to do this? or do I have to write a helper myself. I would have thought this would be a common issue.&lt;/p&gt;</description></item><item><title>the security problem of using ms access as the database? </title><link>http://forums.asp.net/thread/3547372.aspx</link><pubDate>Fri, 04 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3547372</guid><dc:creator>anguswong</dc:creator><description>&lt;p&gt;hi all, i m using ms access as my database in one of my site which collects some vistors info.&lt;/p&gt;&lt;p&gt;i want to know how vulnerable is my site to attacks? say if someone want to get the collected visitors&amp;#39;s info, what kind of procedures they need to do? are those procedures easy to carry out?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>DataBinder Failed Solution</title><link>http://forums.asp.net/thread/3546258.aspx</link><pubDate>Thu, 03 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3546258</guid><dc:creator>herman_tho</dc:creator><description>&lt;p&gt;&amp;nbsp;Hi guys,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I have a simple question, I&amp;#39;m Trying to parse the Variable to the Grid View the system work fine.&lt;/p&gt;&lt;p&gt;But sometimes the code able to retrieve n bind all the data and sometimes the code is bind half record which other half is empty.&lt;/p&gt;&lt;p&gt;I feel that this could be&amp;nbsp;connection disconnect from the server or the VB.Net Code behind not Runing.&lt;/p&gt;&lt;p&gt;I&amp;#39;m using the Item Template.&lt;/p&gt;&lt;p&gt;&amp;lt;itemTemplate&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;a href=&amp;quot;test.aspx?ID=&amp;lt;%#DataBinder.Eval(Container.DataItem,&amp;quot;x&amp;quot;)%&amp;gt;&amp;lt;/a&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/ItemTemplate&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: ArgumentNullException - parameter name: user</title><link>http://forums.asp.net/thread/3544557.aspx</link><pubDate>Wed, 02 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3544557</guid><dc:creator>jclark434175</dc:creator><description>&lt;p&gt;It looks like your &amp;#39;app&amp;#39; variable is not being setup correctly. Try to use the &amp;#39;HttpContext.Current.User&amp;#39; as your input param to your method like so:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;pre name="code" class="c-sharp"&gt;if (!UrlAuthorizationModule.CheckUrlAccessForPrincipal(basePath, HttpContext.Current.User, &amp;quot;GET&amp;quot;))
        {
            //Do Something
        }&lt;/pre&gt;Hope this helps&lt;img src="http://forums.asp.net/tiny_mce/jscripts/tiny_mce/plugins/emotions/img/smiley-cool.gif" alt="Cool" title="Cool" border="0" /&gt;&lt;br /&gt; &lt;/p&gt;</description></item><item><title>Asp.net delegation: impersonate &amp;quot;local user&amp;quot;/&amp;quot;LDAP&amp;quot; account on remote server</title><link>http://forums.asp.net/thread/3533879.aspx</link><pubDate>Thu, 26 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3533879</guid><dc:creator>er_amitthakur@rediffmail.com</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;
I am trying to access the files located in directory at remote server and I was able to impersonate different Identities (&lt;a target="_blank" title="using this C# code" href="http://support.microsoft.com/kb/306158"&gt;using this C# code&lt;/a&gt; as mentioned in&amp;nbsp;&lt;a target="_blank" title="this post" href="http://forums.asp.net/t/1490802.aspx"&gt; this post&lt;/a&gt;). But there are various issues coming up when I deploy them on server.&lt;/p&gt;&lt;p&gt;I&amp;#39;m facing following scenarios:
&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;&amp;nbsp;&lt;b&gt;Impersonating a server&amp;#39;s &lt;span style="color:green;"&gt; local user account&lt;/span&gt;&lt;/b&gt;: &lt;br /&gt;&lt;/li&gt;&lt;ol&gt;&lt;li&gt;When the directory is located in &lt;b&gt;my own machine&lt;/b&gt;, for example a directory &amp;quot;appshare&amp;quot; in my machine given access rights to a local user &amp;quot;tmpUser&amp;quot; in my Machine. I then impersonate like above. &lt;b&gt;It works fine&lt;/b&gt;.&lt;/li&gt;&lt;li&gt;When the directory is located in &lt;b&gt;some other machine &lt;/b&gt;or server. Lets say a dirctory &amp;quot;appshare&amp;quot; located on machine &amp;quot;Dell12-host&amp;quot; and given access to a user &amp;quot;tmpUser&amp;quot; on the machine &amp;quot;Dell12-host&amp;quot;. Now when I try to access the files using above code using the userId &amp;quot;tmpUser2&amp;quot; and corresponding password - &lt;b&gt;Impersonation fails&lt;/b&gt;. I tried IP address but it dont work.&lt;/li&gt;&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;So Finally I was out with the &amp;quot;local user account&amp;quot; impersonation because it was working on my machine but if I host it on server, it didn&amp;#39;t work.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;b&gt;Impersonating a &lt;span style="color:green;"&gt;LDAP user&lt;/span&gt;&lt;/b&gt;:&lt;/li&gt;&lt;ol&gt;&lt;li&gt;Next I proceeded with &lt;b&gt;LDAP user &lt;/b&gt;instead. I granted &lt;b&gt;access on the file server &lt;/b&gt;to a ldap user &amp;quot;usrLdap&amp;quot;. It &lt;b&gt;works fine &lt;/b&gt;and pulls data from the directory located ate file server.&lt;/li&gt;&lt;li&gt;I was happy&lt;img src="http://forums.asp.net/tiny_mce/jscripts/tiny_mce/plugins/emotions/img/smiley-cool.gif" alt="Cool" title="Cool" border="0" /&gt;........ until I put it on my application server. Application server uses &amp;quot;https&amp;quot;. When I access the webpage. Bang....!!!!! Application Server to File Server&amp;nbsp; &lt;b&gt;Impersonation Failed&lt;/b&gt;&lt;img src="http://forums.asp.net/tiny_mce/jscripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif" alt="Sealed" title="Sealed" border="0" /&gt;.&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;p&gt;Now my application&amp;#39;s actual requirement is extreme of both above cases.&amp;nbsp; I need case 1.2 and 2.2 together. I mean:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;I want to authenticate a local user account situated at file server.&lt;/li&gt;&lt;li&gt;My website is hosted on secure channel. i.e. I will access the website like this : &amp;quot;https://myapp/directorylisting.aspx&amp;quot;.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;I can convince my client to forget the 1.2 but 2.2, I cannot avoid.&amp;nbsp; Please help. Please help. &lt;img src="http://forums.asp.net/tiny_mce/jscripts/tiny_mce/plugins/emotions/img/smiley-cry.gif" alt="Cry" title="Cry" border="0" /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>System.MethodAccessException weird error.</title><link>http://forums.asp.net/thread/3524466.aspx</link><pubDate>Fri, 20 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3524466</guid><dc:creator>jdstuart</dc:creator><description>&lt;p&gt;I&amp;#39;ve got the 3 classes, A, B, C, all within the same dll. Classes B and C is defined as MustInherit (or abstract) with their contructors defined as Friend. Class A can be instantiated by calling:&lt;/p&gt;
&lt;p&gt;Dim a as New A(). &lt;/p&gt;
&lt;p&gt;I&amp;#39;ve got another project that references the dll in which all these classes reside, but when I try to instantiate an object of type A from this project I get a System.MethodAccessException.&lt;/p&gt;
&lt;p&gt;This is an ASP.Net application running under .Net 2.0. Can this be a trust issue (i.e. medium trust, full trust). I&amp;#39;ve got complete comtrol over the webserver and confimed that the application is running under full trust.&lt;/p&gt;
&lt;p&gt;Below is an example of how the classes are implemented.&lt;/p&gt;&lt;pre class="vb.net" name="code"&gt;Public Class A
    Inherits B

    Public Sub New()
        MyBase.New()
        Me.TypeID = TypeIDs.Phone
    End Sub


Public MustInherit Class B
    Inherits C

    Friend Sub New()
        MyBase.New()
    End Sub
....


Public MustInherit Class C
    Friend Sub New()
    End Sub
.....&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Access Files After AD Authentication</title><link>http://forums.asp.net/thread/3521586.aspx</link><pubDate>Thu, 19 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3521586</guid><dc:creator>krayzieFingaz</dc:creator><description>&lt;p&gt;Hi there.&lt;/p&gt;&lt;p&gt;I&amp;#39;m making an ASP intranet portal here at work. We have a network where each folder can be opened just by a specific user (an Active Directory user).&lt;/p&gt;&lt;p&gt;I&amp;#39;m using a login page with forms authentication that redirects to a page with a treeview so that the user can browse around.&amp;nbsp;&lt;/p&gt;&lt;p&gt;The problem is that i can only show all folders and files, open folders, but cannot open files. I always get access denied. I&amp;#39;m using, at least trying to use, delegation to acess files and folders.&lt;/p&gt;&lt;p&gt;I have IIS with just forms authentication enabled, and APS representation enabled.&lt;/p&gt;&lt;p&gt;I really don&amp;#39;t know what to do now. I&amp;#39;m open to any sugestions, even starting all over again.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks for your time.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>