Iview for anonymous access

Hello,
I have an iview and I need to allow anonymous access to it. For this in portalapp.xml I have following:
In portal application config:
<application-config>
    <property name="AuthScheme" value="anonymous">
    </property>
</application-config>
In conponent-config:
<components>
<component name="MyDynPage">
<component-config>
<property name="ClassName"  value="mypackage.MyDynPage"/>
<property name="SecurityZone" value="com.sap.portal.pdk/no_safety"/>
</component-config>
</component>
</components>
What must to do for the anoymous access to this iview
Best Regards.
Altafin

Hi Altafin,
as an addition to Noel's answer:
Keep in mind that there's a difference between an portal component and an iView. A portal component is navigated to with an URL like this:
http://myserver/irj/servlet/prt/portal/prtroot/myapp.mycomponent
while an iView is navigated to with an URL like this
http://myserver/irj/portal?NavigationTarget=pcd://portal_content/myfolder/myIView
An iView is a configured(and possibly personalized) instance of a portal component. If you navigate to the portal component, you do not have personalization/configuration.
As Noel wrote, if you want to show the iView, add the iView to some anonymous role. But if you want to navigate to a portal component, you'd rather adjust the permissions for the security zone you mention in the portalapp.xml (and add an anonymous role to it).
You'll find that under System Administration->Permissions->Portal Permissions->Security Zones->com.sap.portal.pdk->no_safety
But you shouldn't take this zone name, as this is the pdk namespace. Take your own. you can write near to anything you like there, and the portal will automagically add the zone to the Security Zones folder upon deployment.
Regards,
Armin

Similar Messages

  • Default view and date format for anonymous access in convergence calendar

    Hi,
    is there an option to configure default view and date format when user access to a calendar with anonymous access ?
    Actually, date format is M/D and I want D/M.
    And the default view is monthly, and I would like to set to 7 days view.
    Thx for your help
    Regars,
    JC

    jchatriot wrote:
    is there an option to configure default view and date format when user access to a calendar with anonymous access ?No. I've raise a new Request For Enhancement:
    RFE #6961895 - "Provide configuration option and URL parameter to set Anonymous Calendar view and date format"
    Regards,
    Shane.

  • Web Dynpro iView for Anonymous user

    Hi All,
    I created a Web Dynpro iView based on local Web Dynpro application. I am trying to access this iView as a anonymous user. I have given Authentication mode as
    "flase". In  iView properties and  Page properties Authentication Scheme is  "anonymous". In all permissions I added "Anonymous Group" and given Read and End User permissions.  After doing all these things Still it is prompting me for Login.  My Server is 2004s SP 10.
    Please Somebody tell me what I am missing.
    Thank you
    Joe

    Hi Sreekanth,
    I think you have to assign this iview to the standard user role which you can find under Portal content ->Portal users -> standard portal users -> Standard user role  and assign this to group "Everyone"  (if not already done).
    Then you should be able to access this iview directly. Let me know if it works.
    Thanks,
    Hari

  • Url iview for anonymous user

    Hi
    We have an url iview with two Language-specific URLs (en and es) and a default URL. This iview is in anonymour portal page.
    The first time that an anonymous user accees to /irj/portal/anonymous the url iview shows the default url instead of the en URL. Browser lengauge is EN.
    How can i solve this??
    Thanks

    Hi,
    There are two condition for the URL Language-specific :
    1. You must first create the URL iView and then use the editor to use this
    feature. It is not available in the URL iView Wizard.
    2. You cannot apply a different look and feel to language-specific URLs.
    iView content will be displayed at runtime in its native format as defined in
    the source Web page. For more information, see the Keep
    source formatting option in Defining the Look and Feel of the iView Content.
    The remaining look and feel rendering option are supported by the default URL only.
    In addition there is an option to check the service configuration of the Language-specific :
    com.sap.portal.admin.wizardframework:
    edit the SourceLocales field check that the requested Language is defined and if not you can add it
    ( Follow note# 1078145 )
    After doing so , please restart the service , and check the results.
    If the problem still exist let me know and we can have further investigation.
    Best Regards,
    Sharon Dassa

  • Adding login page to framework page for anonymous user/access

    Hi all,
    I have created all iviews, page and a role with anonymous authentication. Created desktop,set theme, added rules for the custom framework page for anonymous access.  We need to show some information even before user logs in. How should I add login iview to the custom framework page?
    Thanks,
    Dileep

    Hi Dileep,
    I want to add the login iview to the framework page for anonymous access like you.
    I'm new with the portal. Can you guide me to do this from the beginning?
    Thanks!
    Chan

  • Enable anonymous access for Javascript Client Object Model

    In SharePoint 2010 it was possible to use the Javascript Client Object Model with anonymous access enabled by removing "GetItems" from the ClientCallableSettings.AnonymousRestrictedTypes.
    In SharePoint 2013 however, it seems that an extra security barrier has been implemented. Trying to use the Javascript Client Object Model results in the following message: "Access denied. You do not have permission to perform this action or access this
    resource."
    After this I went on to do a little research, and it appears that Javascript Client Object Model actually relies on the REST API (please correct me if I'm mistaken), and the REST API also doesn't seem to work as an anonymous user.
    So I'm in the dark here. I can't imagine that SharePoint 2013 (so heavily relying on the client object model) can't be used with anonymous access. I've also found very little documentation on anonymous access in combination with SharePoint 2013.
    So, how do I enable the Javascript Client Object Model to be used with anonymous access enabled?
    P.S. Needless to say, my web application is enabled for anonymous access and so is my site collection.

    There are really 4 things you need to do to enable anonymous access:
    1. In web application level, enable anonymous.
    2. In site collection level, make sure anonymous access Entire Website.
    3. In Web level, set Full Permission Masks, till here, you're able to anonymously access REST APIs.
    # Enable Anonymous access
    $web = Get-SPWeb $url
    if($web -ne $null)
        Write-Host
        Write-Host -ForegroundColor Yellow "Enabling Anonymous access on:" $web.Url
        Write-Host
        $web.AnonymousState = "On"
        Write-Host -ForegroundColor Yellow "AnonymousState set to:" $web.AnonymousState
        $web.AnonymousPermMask64 = "FullMask"
        Write-Host -ForegroundColor Yellow "AnonymousPermMask64 set to:" $web.AnonymousPermMask64
        $web.Update()
        Write-Host
    Below are the things to enable anonymous client object model APIs:
    4. In web application level, Require Use Remote Interfaces Permission - uncheck it.
    5. In web application level, Anonymous Restricted Types, remove all of them:
    $app.ClientCallableSettings.AnonymousRestrictedTypes.RemoveAll()

  • How to Enable Anonymous access to a SharePoint 2013 site e.g for specific site,list etc..

    Hi All,
          I'm working on an extranet and i would like users to be able to fill a form on the site.
    Since i'm going to use sharepoint 2013 how can i configure sharepoint to use both anonymous access and windows authentication at the same time.
    I know for sure it can be done but what can be allowed for anonymous access e.g specific list site etc..
    I would need to make some area available as anonymous e.g a whole site as  i would like to brand it a little to host the form.Any tips of who has configured similar would be appreciated

    Hi Patrick,
    Thanks for posting your query, Kindly follow the below mentioned steps to enable Anonymous access to a SharePoint 2013 site.
    In Central Administration, under Application Management., click Manage web applications.
    Select the web application you want to enable anonymous access for.
    In the Security group on the ribbon, click Authentication Providers.
    In the Authentication Providers dialog box, under Zone, click Default.
    On the Edit Authentication page, select the Enable anonymous access check box.
    Click Save.
    Close the Authentication Providers dialog box.
    Also, browse the below mentioned URLs for more details
    http://blog.cloudshare.com/2012/10/15/how-to-enable-anonymous-access-to-a-sharepoint-2013-site/
    http://www.sharepoint-journey.com/how-to-enable-anonymous-access-in-sharepoint-2013.html
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Login Page coming for Anonymous User

    Hi All,
    we have configured anonymous user for our portal. Created a role for anonymous access - added pages and iViews under that. All the iViews and pages are modified with authentication scheme property to Anonymous.
    Now when we access the portal with the url http://host:port/irj its showing the login box in the top part of the page and in the bottom part its showing the anonymous role which we created.
    Let me tell you what we have done...
    Created role, iViews for Anonymous role, set the authentication property to 'Anonymous'.
    In Visual Admin-> Server-> Services-> UME Provider set the variable ume.login.anonymous_user.mode to 1.
    Variable ume.login.basicauthentication to 1.
    Variable ume.login.guest_user.uniqueids to Guest.
    Then we have updated the index.html file under <drive>:\usr\sap\<SID>\<instance_number>\j2ee\cluster\serverX\apps\sap.com\irj\servlet_jsp\irj\root .. we changed
    <b><body onload="location.replace('portal' + document.location.search)"></body></b>
    to <b><body onload="location.replace('servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.anonymous' + document.location.search)"></body></b>
    But now when a guest user accesses the portal http://host:port/irj it gived the strange screen (logon + content page) as I described earlier.
    Please let us know where are we missing...
    thanks & regards,
    Shubhadip

    Hi,
    1 .  I have created a iView and set the authentication scheme anonymous.
    2.  Also I created a role and added the iview to a role.
    3. The role has only 1 iview.  The entry pt is yes  for the iview
    4.  The role has permissions of end user for anonymous user.
    5 I checked the masthead iview also.. It aslo has authentication scheme anonymous
    When I try accessing the iView  in the form <http/https>://<server>:<port>/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fmyfolder!2fmyiView
    I am able to view it without any login..
    But when the url is accessed <http/https>://<server>:<port>/irj/portal/anonymous
    I see a login page in the Detailed navigation..
    Please help me solve this problem ..
    Thanks,
    Preeti

  • How to set up KM folder with Anonymous access.

    Experts,
    I would like to setup a KM folder with anonymous access where any document on that folder can be viewed by anonymous users by clicking on a link specific to that document. For example: http://server/irj/go/km/docs/documents/TechDocs/file_name.html
    Please note that this document will not be rendered through an iView, so setting up an anonymous role will not work in this case.
    Can anyone tell if this will be doable and the steps to do it?
    Thanks in advance for your help.
    Regards,
    Abu

    Hi Abu,
    > How can I just give access to a specific folder under /irj/go/km/docs?
    You have to differentiate between anonymous access to the iView behind /irj/go/km/docs (PCD auth scheme) and the permissions on KM folders (KM permissions). If you want to restrict the access, on the folders which should not be accessible for anonymous access, remove the group "Everyone" from the permissions (via details / settings / permissions). For details see http://help.sap.com/saphelp_nw04/helpdata/en/1b/12c49eb27011d5993800508b6b8b11/frameset.htm
    Hope it helps
    Detlev

  • Web Page Composer for anonymous user

    Hello everybody,
    I configured my portal for Web Page Composer anonymous user access.
    I found this document and i follow all steps:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e06e2dfa-7759-2b10-1c89-e90e6877e606?QuickLink=index&overridelayout=true
    but when i launch portal with address:
    http://xxxxxx:50000/irj/portal/anonymous
    in the content view i see the portal logon page!!! if i lauch the page whit other user (after log-on) i see the WPS page correctly
    Any suggestion??

    And don't forget the anonymous group. Well the things you need to take a second look at are in de doucments.
    - Making CM ready for anonymous access
    - PCD (iviews, pages, folder, etc) should have anonymous access
    - are all the servies configured right
    - And make sure the right group have the right access in CM (KM)

  • Reporting Services 2008 - Anonymous Access

    Hello,
    In SSRS 2005 I was able to grant anonymous access to my reports by changing the authentication mode for the Reporting Services virtual directory in IIS to Anonymous and then adding the 'account used for anonymous access' to the permissions on the appropriate Reporting Services directories (in report manager).
    Now with SSRS 2008 there are no virtual directories in IIS.
    I tried to follow the instructions given:
    http://technet.microsoft.com/en-us/library/cc281310.aspx (Authentication Types in Reporting Services)
    Which instructed me to use the custom AuthenticationType, and following the instructions here:
    http://technet.microsoft.com/en-us/library/cc281383.aspx (How to: Configure Custom or Forms Authentication in Reporting Services)
    which just got me an error:
    The Authentication Extension threw an unexpected exception or returned a value that is not valid: . (rsAuthenticationExtensionError) Get Online Help
    For more information about this error navigate to the report server on the local server machine, or enable remote errors
    Any ideas on how to set up anonymous access to SSRS2008?
    Thanks for any time and help!
    -Tim

    JC,
    I check the solution on net and get following:
    First create a class called ReportServerCredentials that implements the IReportServerCredentials interface.  You will need to import System.Net and Microsoft.Reporting.WebForms to this class.  Overload the New and GetFormsCredentials methods and the NetworkCredentials and ImpersonationUser properties.  Here's a class that I use:
    Imports Microsoft.VisualBasic
    Imports Microsoft.Reporting.WebForms
    Imports System.Net
    Public Class ReportServerCredentials
        Implements IReportServerCredentials
        Private _userName As String
        Private _password As String
        Private _domain As String
        Public Sub New(ByVal userName As String, ByVal password As String, ByVal domain As String)
            _userName = userName
            _password = password
            _domain = domain
        End Sub
        Public ReadOnly Property ImpersonationUser() As System.Security.Principal.WindowsIdentity Implements Microsoft.Reporting.WebForms.IReportServerCredentials.ImpersonationUser
            Get
                Return Nothing
            End Get
        End Property
        Public ReadOnly Property NetworkCredentials() As ICredentials Implements Microsoft.Reporting.WebForms.IReportServerCredentials.NetworkCredentials
            Get
                Return New NetworkCredential(_userName, _password, _domain)
            End Get
        End Property
        Public Function GetFormsCredentials(ByRef authCookie As System.Net.Cookie, ByRef userName As String, ByRef password As String, ByRef authority As String) As Boolean Implements Microsoft.Reporting.WebForms.IReportServerCredentials.GetFormsCredentials
            userName = _userName
            password = _password
            authority = _domain
            Return Nothing
        End Function
    End Class
    Next, in the OnLoad of your page with the ReportViewer control, create a new instance of your ReportServerCredentials (I use values stored in AppSettings).  Then assign your object to the ReportViewer control's ServerReport.ReportServerCredentials property. 
    Dim cred As New ReportServerCredentials(ConfigurationManager.AppSettings("MyStoredUser"),_
        ConfigurationManager.AppSettings("MyStoredPassword"), _
        ConfigurationManager.AppSettings("MyStoredDomain"))
        MyReportViewerControl.ServerReport.ReportServerCredentials = cred
    I try it but get following error
    Compiler Error Message: BC30002: Type 'IReportServerCredentials' is not defined.
    Do you think it is a possible way for Reporting Service 2008? if yes, what lead to the error? thanks in advance.

  • Enable report view for anonymous acess in sharepoint 2013

    Hi everyone, I hava a problem with rendered reports in .rdlx files from power gallery in sharepoint 2013. My site is enabled for anonymous access but when I try to see a report in anonymous mode ,I have to specify the credentials to see that report.
    I hope your help , best regards!

    Hi Regolie,
    PowerPivot for SharePoint 2013 and Reporting Services Power View do not support anonymous authentication. So, anonymous authentication must not be enabled for Web apps that host PowerPivot workbooks and Power View reports. This authentication method is disabled
    by default.
    I strongly recommend you take a look at the following document regarding Microsoft BI Authentication and Identity Delegation, please see:
    http://download.microsoft.com/download/D/2/0/D20E1C5F-72EA-4505-9F26-FEF9550EFD44/MSFTBIAuthOverview.docx
    Regards,
    Elvis Long
    TechNet Community Support

  • How to connect to web services from iOS to get list using anonymous access

    Hello
    This is a public facing web site that I would like to have access to a list file to get data in an iOS app however I get 403 forbidden because I do not have a username and password.  
    How can I get this list with anonymous access?  
    Under my admin account I published this list as a web page for anonymous access using a data view but I would also like the same data for my iOS app. 
    Thank you for any help and direction.

    yes, it is.  
    List
    Anonymous users can:
    View Items
    This site collection is hosted and the permission level for anonymous users is set to entire web site.
    here's the error & url I get off of IE when clicking http://myportal/_vti_bin/listdata.svc/MyList 
    http://myportal/_layouts/error.aspx?ErrorText=Object%20reference%20not%20set%20to%20an%20instance%20of%20an%20object%2E
    Error
    An error has occurred on the server.
    Troubleshoot issues with Microsoft SharePoint Foundation.
    Correlation ID: 52edf46c-682d-426e-b04c-8a8bb0a92040
    Date and Time: 7/29/2014 12:09:41 PM

  • Troubleshooting SharePoint Auth prompts and Anonymous access with Fiddler - Is there a better way?

    I've troubleshooted (troubleshot?) many SharePoint sites for anonymous and random authentication prompts. It usually winds up being something not checked in or published, but sometimes it's something more random, like a survey list based on a template from
    another site prompting for auth even when configured for anonymous access, but when created manually, question by question, works fine for anonymous, and other random things I've run into in the past. In these situations, I almost always break out Fiddler,
    and then almost always move on to the tried and true method of "trying different things" until getting it to work.
    Because Fiddler almost never, in my experience, produces actionable results pointing at a specific file or problem. Am I alone? And if not, does anyone have anything better they've used over time?
    Thanks!

    That is as close as you're going to get to the element that isn't loading, although if it is a reference in a page, you should see the error when attempting to load the reference.
    Trevor Seward, MCC
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Switching SharePoint from Secured to Anonymous Access - Problems have Arisen

    Background:
    We had SharePoint setup by a professional SharePointer several years ago to be secured from anonymous Access.  Documentation was non-existant except showing us how to setup new sites and a few other things.
    Goal:
    We are trying to remove the login only access and switch it so that people can see the front page and a few select subpages anonymously.  We are in the midst of a repurposing.
    Problem:
    I have followed the instructions at this
    site and the first thing that happens when we go to the site is that we are prompted to login.  We are thinking that the professional set something else somewhere to force it to prompt.  Any help with this would be appreciated.
    Troubleshooting:  On top of the basic setup I have double checked permissions on all Sites and folders making sure that there is nothing on the main page that isn't allowed Anonymous Access. Have also fiddled with IIS settings, but to no avail (the
    settings have been returned to normal).
    Also, please note that my AnonymousPermMask64 is set to:
    ViewListItems, ViewVersions, ViewFormPages, Open, ViewPages, UseClientIntegration

    Hi,
    According to your post, my understanding is that you wanted to enable the anonymous access for the site.
    As you had enable the anonymous access in web application and site level following the instructions, and still could not enable the anonymous access.
    To narrow down the issue, we can do some steps as below.
    First, we can create a new site in the web application, then enable the anonymous access for the site.
    If the site could anonymous access, the issue would occur in your old site.
    Then we can check the steps for anonymous access in the old site, or we can also check ULS log to see if anything unexpected occurred.
    For SharePoint 2010, by default, ULS log is at
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
    What’s more, we can also back up the site collection, then restore the site collection to check whether it works.
    http://technet.microsoft.com/en-us/library/ee748617(v=office.14).aspx
    http://technet.microsoft.com/en-us/library/ee748655(v=office.14).aspx
    Second, if the new site still could enable the anonymous access, the issue would occur in the web application level.
    You should check the issue with the web application as above.
    You can also backup the web application restore to a new web application to check whether it works.
    http://technet.microsoft.com/en-us/library/ee748623(v=office.14).aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

Maybe you are looking for

  • PDF Filename is entire path

    I am outputting a report to PDF and its all working fine except for one thing, and that is that the pdf's filename is the entire path to the file instead of just the filename. This is the code I am using in the cfdocument tag: <cfdocument format="pdf

  • Information about the function module SAPWL_READ_STATISTIC_FILES

    Hi all,        I want to know the use of the given sap standard function module SAPWL_READ_STATISTIC_FILES.      In this all_stats change parameter is there. what exactly it is returning i want to know and what is the purpose of this function module?

  • Data not reaching SOA from B2B

    Hi All, i have configured a generic file listening channel. B2B is picking up the file succesfully and it is also getting processed succesfully without any error But data is not getting read by the B2b adapter(configured in default mode) which i have

  • While saving the notification

    Hi Guys, I have one requirement like this when a notification is assign to an order and before save i neen to check wheather the planner groupe in the notification(iw22)in the header data  should be equll to the planner groupe in the work order(iw32)

  • Been getting -bash: [export: command not found

    I have no idea how to fix this. Any help is appreciated. Here is the complete error I get when I open up terminal: Last login: Thu Mar 14 15:28:54 on ttys000 -bash: [export: command not found Ways-MacBook-Pro:~ Way$