Logo 
Search:

MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

Anonymous Access to Web Pages in MySite

  Asked By: Wendy    Date: Oct 12    Category: MOSS    Views: 2164

A student here built an "e-portfolio" of documents and images, with web part
pages (.aspx) with Content Editor Web Parts containing the bulk of the
story. She put all this in her MySite "Shared Documents" and "Shared
Pictures" as part of an e-portfolio contest. Now we would like to share her
(winning!) portfolio with the world. Anonymous access was already enabled
in Central Administration; we set it in her top-level site ("Entire Web
Site" option), then returned "Shared Library" and "Shared Pictures" to
inherited permissions.

Now an anonymous user can access the documents and images (.pdf and .bmp),
but receives a login challenge when attempting to access any of the .aspx
pages.

In MySite subsites (e.g., my blog[1]), I can set anonymous access, then add
a document library and put a a web part page in it, and access it
anonymously. Only in the top-level MySite (like her situation) is there a
problem.

Interestingly, the top-level site has "WSS-style" permissions levels
built-in[2], while the subsites have "MOSS-style" permission levels[3].
Could this be the difference? If so, how can I fix it?

Alternatively, I would like to copy the mix of documents, images, and web
part pages from her MySite to another site or subsite. If I use Explorer
View, the Content Editor web parts on the .aspx pages are empty. If I use
SPD Backup/Restore, the permission levels (and the problem) are carried over
into the copy. If I copy and paste with SPD, the links in the Content
Editor Web Part refer to the old location.

Other than rebuilding the site from scratch, do you have any suggestions?

[1] https://mysite.wsu.edu/personal/yeidel/blog/test/test.aspx
[2] technet.microsoft.com/en-us/library/cc288074.aspx
[3] technet.microsoft.com/en-us/library/cc262690.aspx

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Angarika Shroff     Answered On: Oct 12

The problem is that the root level site of a mysite  has an automatic
redirect that will send anyone other than the owner to the public side
of the mysite. Since the redirect code needs to know whoyou are to
redirect you it will always prompt for authentication when you go to the
root of the mysite.You can't do anonymous  access to the pages  in the
root site of a mysite site collection. You can do anonymous access  to a
subsite of a mysite site collection. Simply create a subsite and put
the e-portfolio and pages in that site. You will be able to access that
site directly in an anonymous fashion.

 
Answer #2    Answered By: Eliza Hutchinson     Answered On: Oct 12

As far as I can tell, the redirect explains why a URL like

https://mysite-host/personal/jones

cannot be accessed as anonymous. Default.aspx returns a different page
depending on who you are. But no redirect is needed with a URL like

https://mysite-host/personal/jones/Shared%20Documents/awebpartpage.aspx

(which raises an authentication prompt), or

https://mysite-host/personal/jones/Shared%20Documents/agraphic.bmp

(which does not, and is simply passed to the anonymous  user).

Further, when I backup a root-level mysite  with SharePoint Designer, then
restore it as a MySite subsite, the subsite shows the same behavior, even
though it is no longer a root-level site. aspx  user-created web  pages are
blocked to anonymous users (web pages, not application pages). Newly
created subsites don't exhibit the problem, but they have a different
permissions structure, as I mentioned.

It seems odd to me that files in the root-level site are anonymously
accessible but user-created web pages  are not, but that appears to be a
Microsoft design issue, not something that we can solve.

What is the best way for me to move/copy web part  pages from the root-level
Mysite to a subsite? Every method I have tried has either reproduced the
anonoymous access  problem (backup/restore), lost the contents of the Content
Editor Web parts  (explorer view or SPD copy/paste), or simply failed
(publish site).

 
Didn't find what you were looking for? Find more on Anonymous Access to Web Pages in MySite Or get search suggestion and latest updates.




Tagged: