Skip to main content

Home/ Agency Oasis Developers/ Group items tagged user

Rss Feed Group items tagged

mgraber

ASP.NET View State Overview - 0 views

  •  
    "Encrypting View State Although MAC encoding helps prevent tampering with view state data, it does not prevent users from viewing the data. You can prevent people from viewing this data in two ways: by transmitting the page over SSL, and by encrypting the view state data. Requiring the page to be sent over SSL can help prevent data-packet sniffing and unauthorized data access by people who are not the intended recipients of the page. However, the user who requested the page can still view the view state data because SSL decrypts the page to display it in the browser. This is fine if you are not concerned about authorized users having access to view state data. However, in some cases, controls might use view state to store information that no users should have access to. For example, the page might contain a data-bound control that stores item identifiers (data keys) in view state. If those identifiers contain sensitive data, such as customer IDs, you should encrypt the view state data in addition to or instead of sending the page over SSL. To encrypt the data, set the page's ViewStateEncryptionMode property to true. If you store information in view state, you can use regular read and write techniques; the page handles all encryption and decryption for you. Encrypting view state data can affect the performance of your application. Therefore, do not use encryption unless you need it. Control State Encryption Controls that use control state can require that view state be encrypted by calling the RegisterRequiresViewStateEncryption method. If any control in the page requires that view state be encrypted, all view state in the page will be encrypted. Per-user View State Encoding If a Web site authenticates users, you can set the ViewStateUserKey property in the Page_Init event handler to associate the page's view state with a specific user. This helps prevent one-click attacks, in which a malicious user creates a valid, pre-filled Web page with view state from a pre
Mark Ursino

All about Sitecore performance counters - 0 views

  •  
    The following message appears in the log files: Could not create an instance of the counter 'XXX' (category: 'YYY') Exception: System.UnauthorizedAccessException Message: Access to the registry key 'Global' is denied. Resolution: A Sitecore application pool user has to be a member of the system "Performance Monitor Users" group to have access to the mentioned registry key. Adding the user to this group and restarting IIS should solve the problem.
Douglas Couto

Usersessions in sitecore (logout users from backend) - iStern.dk - 1 views

  •  
    "Usersessions in sitecore (logout users from backend)"
Douglas Couto

Problems with the Sitecore 6 staging module part 2 - extranet user loses sess... - 0 views

  •  
    "Problems with the Sitecore 6 staging module part 2 - extranet user loses session"
Matt DeGennaro

Dan Rigsby » Remotely Log Off Remote Desktop Users - 0 views

  •  
    Command line way to log off users when "The terminal server has exceeded the maximum number of allowed connections"
Mark Ursino

Configure NTFS Permissions (IIS 6.0) - 0 views

  •  
    Use NTFS permissions to define the level of access to your directories and files that you want to grant to specific users and groups of users
Mark Ursino

Remove SQL Server database from single-user mode - 0 views

  •  
    STEP1: select d.name, d.dbid, spid, login_time, nt_domain, nt_username, loginame from sysprocesses p inner join sysdatabases d on p.dbid = d.dbid where d.name = 'YOURDBNAME' STEP 2: kill STEP 3: exec sp_dboption 'YOURDBNAME', 'single user', 'FALSE'
mgraber

ASP.NET QuickStart Tutorials - 0 views

  • Securing Non-ASP.NET Files
  • ASP.NET handles requests for file extensions that are normally associated with ASP.NET, while IIS handles requests for all other file extensions. By default this means common file extensions such as .aspx and .asmx are processed by ASP.NET. This processing includes authentication and authorization to ASP.NET files. Sometimes though, a developer wants non-ASP.NET resources to be processed by ASP.NET. One reason for processing non-ASP.NET files through ASP.NET is to allow ASP.NET authentication and authorization to control access to these types of files. The combination of IIS6 on Windows Server 2003 and ASP.NET 2.0 provides the most flexibility for running the ASP.NET pipeline as part of processing a request for a non-ASP.NET resource. IIS6 includes support that allows ASP.NET 2.0 to perform authentication and authorization steps, and to then hand off the remainder of the processing of a non-ASP.NET resource back to IIS6. For example, it is possible to authenticate access to an ASP page using ASP.NET forms authentication, authorize access with ASP.NET's Url authorization and still allow the ASP ISAPI extension (asp.dll) to execute the ASP page. This support is possible because IIS6 introduced a new server support function for ISAPI extensions: HSE_REQ_EXEC_URL. Assume that a directory structure contains a mix of both ASP and ASP.NET files. The ASP.NET pages are used to log a user in with forms authentication, while the ASP pages represent the rest of the application. Using the IIS6 MMC, right-click on directory and create an application (this is the same step that is necessary when setting up a standard ASP.NET application). After an application has been created, click on the Configuration button that is located on the Directory property page. This will cause the Application Configuration dialog to be displayed. New to IIS6 is a feature called wildcard application mapping. The bottom of the Application Configuration dialog allows you to configure this feature. First determine the path for the ASP.NET ISAPI extension that processes ASP.NET files such as .aspx files. You can find this path by looking at the extensions that are listed in the Application Extensions list shown in the top half of the Application Configuration dialog. Click on the row in the list that maps the .aspx extension, and select the Edit button. In the dialog that pops up, highlight the text in the Executable textbox and copy it to the clipboard. Then cancel out of the dialog. Next, click the Insert button that is in the bottom half of the Application Configuration dialog. A dialog box titled Add/Edit Application Extension Mapping will be displayed. In the Executable text box, enter the path to the ASP.NET ISAPI extension that you copied to the clipboard earlier. The end result should look something like the screenshot below.
  • Click OK to close out all of the dialogs. Now whenever a request is made for any file, the request will first be processed by ASP.NET. If the web.config for your ASP.NET application has enabled forms authentication, an unauthenticated request for a .asp file will first trigger a redirect to the login page configured for forms authentication. After a user has successfully logged in, they will be redirected back to the original .asp page. When the now-authenticated user requests the .asp page, ASP.NET will first run through the FormsAuthenticationModule to verify that the forms authentication cookie exists and is still valid. If this check passes, ASP.NET will hand processing of the .asp page back to IIS6, at which point IIS6 will pass the request on to the ISAPI extension that normally process .asp pages. In this case the extension is asp.dll and the ASP page will then run to completion. The reason ASP.NET will pass the request back to IIS6 is that non-ASP.NET resources will fall through the list of configured <httpHandlers> to the following entry: <add path="*" verb="GET,HEAD,POST" type="System.Web.DefaultHttpHandler" validate="True" /> The DefaultHttpHandler is responsible for handing requests back to IIS6 for further processing.
  •  
    "Securing Non-ASP.NET Files"
Mark Ursino

The User Manual Site - 0 views

  •  
    User manuals for a bunch of stuff
Douglas Couto

The Official SBS Blog : Active Directory FTP User Isolation Mode (IIS 6.0) - 0 views

  •  
    [Today's post comes to us courtesy of Wayne McIntyre] **DISCLAIMER FTP is an older protocol which has been replaced with better methods of hosting files. FTP is also unsecure and your username/passwords are sent in clear text which poses a major security
Mark Ursino

Sitecore Users Virtual Group - 0 views

  •  
    The Sitecore Users' Virtual Group is dedicated to supporting the Sitecore community wherever they exist across the globe. We're excited to announce a monthly education series on Sitecore topics. We have some great speakers lined up for our first sessions, and we're looking forward to their deep expertise on Sitecore development. All sessions are free of charge and conducted over the web.
Mark Ursino

Infinity.js - 0 views

  •  
    A UITableView for the web: it speeds up scrolling through long lists and keeps your infinite feeds smooth and stable for your users
Mark Ursino

jQuery.suggest plugin - 0 views

  •  
    jQuery.suggest, a simple inline autosuggest jQuery plugin. It takes an array of terms as haystack and suggests the user the first item that matches what has been typed to this point. The suggestion is updated with every keystroke. Tab or Enter will accept the suggestion and update the input field accordingly.
Mark Ursino

Sitecore Social Connected Module - 0 views

  •  
    The Sitecore Social Connected module contains several independent tools: Social Connector allows website visitors to log in your website using credentials from their social network accounts. Your website receives more information about the visitor from the social network profile. You can use it to personalize the website. Social Publishing allows posting automatic updates to the social networks along with publishing Sitecore items. Putting Like and Tweet buttons on the webpage. You can put the buttons as Sitecore controls and track users' activity using Sitecore analytics.
mgraber

Requirements Management - Author Requirements - 0 views

  •  
    "Blueprint Requirements Center lets you precisely author requirements through business process diagrams, hierarchical rich text requirements, use cases, user interface mockups, data definitions, and business rules. Best of all, it ensures that all requirements content fits together to provide a "single version of the truth" - a common reference for everyone on the project."
Douglas Couto

TeamCity Build Agent Disconnected | The Ninja's Apprentice - 0 views

  •  
    If an agent becomes disconnected for whatever reason, you can follow these steps to re-connect it: ssh to the server that the disconnected agent is on. go to the build agent's bin directory (i.e. /opt/teamcity/buildagent/buildagent01/bin/) su to the user that the agent runs as (i.e. appBuilder) run agent.sh start That will start the agent, and after a few seconds or so, the next time you go to TeamCity, it will be connected.
Mark Ursino

Sitecore Rocks - preview the future of Sitecore development - 2 views

  •  
    A new tool called Sitecore Rocks has been released in a CTP (Community Technology Preview) version - a early sneak peek. The tool, although a little rough around the edges, really shows a bright new future for Sitecore development, a future where we as developers do not need to muck about with browsers interfaces, only to connect our code, .NET pages and user controls into Sitecore. Now we can stay within in the tool we use and like, Visual Studio.
mgraber

Extranet.Change Password.ascx.cs in Branches/Extranetv6 - Extranet - 0 views

  •  
    "using (new SecurityDisabler()) 74 { 75 Item context = Sitecore.Context.Item; 76 context.Editing.BeginEdit(); 77 System.Web.Security.MembershipUser mUser = System.Web.Security.Membership.GetUser(user.Name); 78 mUser.ChangePassword(txtOldPassword.Text, txtNewPassword.Text); 79 context.Editing.EndEdit(); 80 } "
Mark Ursino

imgAreaSelect - image selection/cropping jQuery plugin - odyniec.net - 1 views

  •  
    imgAreaSelect is a jQuery plugin for selecting a rectangular area of an image. It allows web developers to easily implement image cropping functionality, as well as other user interface features, such as photo notes (like those on Flickr).
1 - 20 of 57 Next › Last »
Showing 20 items per page