an ASP.NET Open Source CMS & eCommerce platform
Search:
Last Post 9/10/2010 11:13:16 AM By bansal_db. 15 replies.
Page 1 of 2 (16 posts) << First < Prev 1 2 Next > Last >> 
1/21/2009 2:13:49 AM
macker999
Posts: 30
Joined: 10/11/2008
https
Hi
 
On my current project we have a home page and a login page. When the user logs on then they are redirected to the dotshoppingcart shop web site.
 
All the pages in the shop web site need to be https. Can I configure this somewhere?
 
Thanks
1/21/2009 8:50:58 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: https
You can enable SSL according to this. It will enable all the critical pages like login, checkout etc.
 
Why do you need all the pages to be https? Https doesn't come with free. It brings your server significant load if you force the entire site to use https.
DotShoppingCart Staff
1/21/2009 9:39:51 AM
Newmedia Design
Posts: 65
Joined: 9/25/2008
Re: https
Hi Lukezy
 
My problem is that its a business to business web site. So the shop is hidden from Joe public. Only logged in authenticated users will ave access to the shop.
 
So the site structure will be a welcome page and a log in page. A business user will log on and then get sent to the shop (shop.mysite.com) which will be the dotshopping cart project.
 
So  i was going to have the shop ssl enabled as only authenticated users have access to it. 
 
If you can recommend any other suggestions or how I can ssl enable the whole project?
 
Thanks
 
 
 
 
 
 
 
1/21/2009 10:29:41 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: https
You might be confused with SSL and authentication. They are two different things. SSL is used to protect data transfer from client to server. It's nothing to do with authentication. In another word, even if you have SSL enabled for the entire site, anyone from internet can still have access to your site as long as he knows the your site url.
 
So you issue is to allow the authorized users to your store rather than enabling SSL for entire site. You can do it by updating web\module.config. Use "requireRegistered" for logged in user. Use "isSecure" for forcing SSL for that page.
 
<add name="TellFriend" blockTypeId="18" isSecure="true" requireRegistered="true" directLinkDisabled="true" />
 
For dynamic created page you will have to click the check box below.
 
DotShoppingCart Staff
1/21/2009 2:20:49 PM
Newmedia Design
Posts: 65
Joined: 9/25/2008
Re: https
Hi Lukezy
 
Thanks thats exactly what I need.
 
Just one thing can i add the home page to the list and in the config file and what blocktypeid would i use? The reason i ask this as i want to disable the left and right master blocks for the home page
 

<add name="root" value="">

<pages>

<clear />

<add name="Home" blockTypeId="???" isLeftMasterColumnDisabled="true" isRightMasterColumnDisabled="true" isSecure="true" />

 
9/8/2010 9:40:05 PM
bansal_db
Posts: 181
Joined: 4/13/2009
Re: https
Hey Luke,
 
I added some pages to the cms tool in the front end. How do i enable requireRegistered on them? For example the url for the page is
 
http://test.sd9000.com/Page/Main.aspx
 
Thanks
 
-D
9/8/2010 9:48:34 PM
bansal_db
Posts: 181
Joined: 4/13/2009
Re: https
I dont see the option for Require Registered on the edit page anywhere.
9/8/2010 9:53:20 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: https
In Admin > Content > Pages edit the page and check the "Require Registered" checkbox.
DotShoppingCart Staff
9/8/2010 10:13:03 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: https
You might be running at the old version. Try upgrading to the latest version.
DotShoppingCart Staff
9/9/2010 11:01:36 AM
bansal_db
Posts: 181
Joined: 4/13/2009
Re: https

 

Found it. Thanks for the reply. I was looking in the page editor on the front end, thats why couldn't find it.
I have another question though. I updated the module.config to require register for all the pages. I can still access the product if i use the product url. I dont want users to access any page until they are logged in. This is how the module.config looks like. I also updated all the dynamic pages to require login.
 
Any idea whats missing?

<add name="root" value="">
<pages>
<clear />
<add name="Login" blockTypeId="3" isSecure="true" >
<blockContainerFormat name="default" value="&lt;table style=&quot;width:100%;&quot;&gt;&lt;tr&gt;&lt;td colspan=&quot;3&quot;&gt;%%BlockRef,MainSiteMapPath%%%%PlaceHolder1%%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;%%PlaceHolder2%%&lt;/td&gt;&lt;td&gt;%%{0}%%&lt;/td&gt;&lt;td&gt;%%PlaceHolder3%%&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;3&quot;&gt;%%PlaceHolder4%%&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;" />
</add>
<add name="PasswordRecovery" blockTypeId="21" isSecure="true" />
<add name="Register" blockTypeId="22" isSecure="true" />
<add name="MyAccount" blockTypeId="34" isSecure="true" requireRegistered="true" isLeftMasterColumnDisabled="true" isRightMasterColumnDisabled="true" />
<add name="Product" blockTypeId="5" requireRegistered="true" isLeftMasterColumnDisabled="true" isRightMasterColumnDisabled="true" directLinkDisabled="true" />
<add name="Category" blockTypeId="14" requireRegistered="true" directLinkDisabled="true" />
<add name="Search" requireRegistered="true" blockTypeId="20" />
<add name="Subscribe" requireRegistered="true" blockTypeId="24" />
<add name="UnSubscribe" requireRegistered="true" blockTypeId="25" />
</pages>
</add>
<add name="store" value="Store">
<pages>
<clear />
<add name="Product" requireRegistered="true" blockTypeId="5" isLeftMasterColumnDisabled="true" isRightMasterColumnDisabled="true" directLinkDisabled="true"/>
<add name="Category" requireRegistered="true" blockTypeId="14" directLinkDisabled="true"/>
<add name="Cart" requireRegistered="true" blockTypeId="26" isLeftMasterColumnDisabled="true" isRightMasterColumnDisabled="true" />
<add name="Checkout" blockTypeId="27" isSecure="true" requireRegistered="true" isLeftMasterColumnDisabled="true" isRightMasterColumnDisabled="true" />
<add name="CheckoutComplete" blockTypeId="28" requireRegistered="true" isSecure="true" directLinkDisabled="true" />
<add name="ItemAddedToCart" blockTypeId="30" requireRegistered="true" isLeftMasterColumnDisabled="true" isRightMasterColumnDisabled="true" directLinkDisabled="true" />
<add name="OrderDetail" blockTypeId="31" isSecure="true" requireRegistered="true" isLeftMasterColumnDisabled="true" isRightMasterColumnDisabled="true" directLinkDisabled="true" />
<add name="ReturnDetail" blockTypeId="32" isSecure="true" requireRegistered="true" isLeftMasterColumnDisabled="true" isRightMasterColumnDisabled="true" directLinkDisabled="true" />
<add name="ReturnRequest" blockTypeId="33" isSecure="true" requireRegistered="true" isLeftMasterColumnDisabled="true" isRightMasterColumnDisabled="true" directLinkDisabled="true" />
<add name="AskQuestion" blockTypeId="15" requireRegistered="true" isSecure="true" directLinkDisabled="true" />
<add name="WriteProductReview" blockTypeId="16" isSecure="true" requireRegistered="true" directLinkDisabled="true" />
<add name="UpdateAlert" blockTypeId="17" requireRegistered="true" isSecure="true" directLinkDisabled="true" />
<add name="TellFriend" blockTypeId="18" isSecure="true" requireRegistered="true" directLinkDisabled="true" />
<add name="ProductReviewAll" blockTypeId="19" requireRegistered="true" directLinkDisabled="true" />
<add name="AllCategories" blockTypeId="23" requireRegistered="true" />
<add name="ProductList" blockTypeId="37" requireRegistered="true" directLinkDisabled="true"/>
</pages>
</add>
 
9/10/2010 9:18:27 AM
bansal_db
Posts: 181
Joined: 4/13/2009
Re: https
 Luke,
 
Anything on this?
Page 1 of 2 (16 posts) << First < Prev 1 2 Next > Last >>