I am currently researching a move of our site over to Umbraco.
To keep the same functionality that our site currently has I am trying to find information on how to do password only logins to our product download pages. Our product download pages show the latest version of the product and contain input boxes requesting the customers details for signing up to a newsletter, and a password field to get into the product downloads (each product login page has a different password). I have been unable to find information on how to put the same functionality into Umbraco.
How can I make a page in Umbraco that requires a password only?
Login with Password only?
I am currently researching a move of our site over to Umbraco.
To keep the same functionality that our site currently has I am trying to find information on how to do password only logins to our product download pages. Our product download pages show the latest version of the product and contain input boxes requesting the customers details for signing up to a newsletter, and a password field to get into the product downloads (each product login page has a different password). I have been unable to find information on how to put the same functionality into Umbraco.
How can I make a page in Umbraco that requires a password only?
Thanks
Hi,
Here is one method you could try:
- create a user in the Umbraco backend
- set up the .net login control with the username hard-coded and hidden via CSS
- secure the page against this user
Cheers
Paul
The method I ended up using to make it work the same as we already had was to put .NET code into a new template.
The template now looks something like this:
<asp:content ID="Content1" ContentPlaceHolderId="cp_content" runat="server">
<%if (Request.Form["password"]!="password") {%>
HTML to show if password is wrong
...
<TR>
<TD class="bodytext1"><B>Password:</B> </TD>
<TD><INPUT type="password" name="password" size="45" class="formfield" value=""></TD>
</TR>
...
<%} else {%>
Logged In
<umbraco:Item ID="Item2" runat="server" field="bodyText" />
<%}%>
</asp:content>
is working on a reply...