Anonymous User and Forced Authentication on Page access.

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
10/27/2008 8:39:49 PM
Gravatar
Total Posts 101

Anonymous User and Forced Authentication on Page access.

Hi,

Can I do the following ?

I have a newsletter I would like to hide from anonymous users, but still appear in the menus. (ie. Click newsletter gives a blank page).

If I  'Hide From Anonymous Users?' it works, but requires people to remember to click on the sign-in.

Is there a way for guest users who click on the link, are forced to authenticate before the page is displayed ?

ie. I would prefer not to get them to navigate to sign-in and navigate back.

Any ideas ?

Regards

Andrew

 

10/28/2008 5:54:35 AM
Gravatar
Total Posts 18439

Re: Anonymous User and Forced Authentication on Page access.

Hi Andrew,

I'm confused by your question. Currently newsletters do not exist in the menu, users can subscribe to them only from their profile page which is not available to anonymous users. I plan more improvements for the newsletter feature as soon as I can get to them, I consider it usable but unfinished.

Best,

Joe

10/28/2008 6:21:45 AM
Gravatar
Total Posts 101

Re: Anonymous User and Forced Authentication on Page access.

Hi Joe,

Sorry.... It was confusing..

The school which runs Mojo publishes a newsletter in PDF each week.

Its uploaded to a page and shown off a menu.

The 'in-house' newsletter (collection of pdf's on a page) have been working fine.

They now want to stop anonymous access to the newsletter page.

So I selected the checkbox which displays only if authenticated.

BUT what this does is leave me with a blank page.. (unless you have signed in first).

I would prefer it to request a sign-in to access the content. (as its marked at requiring authentication).

Would it be hard to hack this in ?

Thanks
Andrew

 

 

 

10/28/2008 6:57:12 AM
Gravatar
Total Posts 18439

Re: Anonymous User and Forced Authentication on Page access.

Hi Andrew,

Its doable without any code hacking. This is one of those things I should have an FAQ for but don't yet.

1. Create the page that requires authentication (ok its not visible in the menu to anonymous).

2. Create another page that is visible to all users

3. For the second page set the url to the fully qualified url of the first page. ie http://yoursite/yourpage.aspx and set it to hide from authenticated.

Now the second page is visible in the menu but clicking the link since it points to the first page, the user is prompted to login then redirected to the no longer hidden page.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.