sécurité : acces au site

alas alas asked on March 3, 2017 16:00

I have a site (Siteproduit1) developed with CMS kentico. To login to my site you need a login and password. And I have another site (siteTest) and I want to go directly to my page listproduced by a link from my siteTest without authentication. What configuration should I make

sorry i dont write corretly anglish

Recent Answers


Trevor Fayas answered on March 3, 2017 16:55

If you are asking how to make a page public, in Kentico there are settings both on the pages (Security) that you just need to make sure do not require authentication, and also on a site-level (through the Settings).

If you are trying to make it so a user (through a link) can be automatically logged in and then view a login-in-required-page, then you will need to implement a custom web part that somehow validates a user through the url (maybe some temporary url parameter) and uses the below code to log them in through the API:

CMSContext.AuthenticateUser("TheUsername", true);

0 votesVote for this answer Mark as a Correct answer

Peter Mogilnitski answered on March 3, 2017 17:37

Tu doit donner plus d'information: Siteproduit1 roule sur Kentico. siteTest roule sur Kentico aussi?

Est-ce que c'est le meme domaine: Siteproduit1.domaine.com et siteTest.domaine.com?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.