Comments (2)
Well, typically you'd decorate the respective controllers with the [Authorize]
attribute, add one or more identity providers for authentication and implement a login page.
The same as you would do for any other MVC application, no real difference there.
However, keep in mind that all content in the "Published" state is publicly available through the delivery API. So even if you put some sections on your website behind a login screen, an experienced user will be able to retrieve the content.
Did it answer your question?
from sample-app-net.
Hi Peter,
That makes sense - cheers
I'll close this thread
from sample-app-net.
Related Issues (20)
- Extract HTML helpers (edit mode panel, etc.) to a separate library HOT 13
- Unable to Deploy to AWS Bean Stalk from Bamboo HOT 1
- Localized URLs don't return expected localized pages HOT 4
- Edit Model Panel target=_blank links should have rel="noopener" added HOT 1
- Self config still shows Kentico Cloud logo HOT 1
- Building sample app on Mac OS HOT 3
- Add an example of the languages endpoint usage
- CI Build fails for PRs outside of this repo HOT 2
- Use smart-link SDK instead of custom made tag helper HOT 1
- Fill Spanish resource file
- Switching the language does not preserve current route
- Css file is missing HOT 1
- Deprecated packages upgrade HOT 1
- Use Environment ID instead of Project ID
- Include information about the "Generate Models" PS script on build
- Spike: Try deploy to zeit HOT 6
- Migrate the application to ASP.NET Core MVC HOT 11
- Error on build inheriting ICodeFirstTypeProvider in DancingGoat.Models HOT 2
- Replace hardcoded sample project items count in SelfConfigController.
- After deploying to Azure, the app returns 500 Internal server error. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sample-app-net.