riff-raff | The Guardian 's deployment platform | Continuous Deployment library
kandi X-RAY | riff-raff Summary
kandi X-RAY | riff-raff Summary
The Guardian’s scala-based deployment system is designed to automate deploys by providing a web application that performs and records deploys, as well as providing various integration points for automating deployment pipelines. The documentation is available in the application (under the Documentation menu) but can also be viewed under [riff-raff/app/docs] riff-raff/app/docs) in github.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of riff-raff
riff-raff Key Features
riff-raff Examples and Code Snippets
Community Discussions
Trending Discussions on riff-raff
QUESTION
I would like to protect a site with a very simple password only validation when user first visits site. I currently use http authentication, but that requires a username & password. I can hardcode password in back end. Basics of site: local sports league where we keep our stats and info about league. Simply trying to keep "riff-raff" out :)
I am a ruby on rails newbie, and am using this site as a way to learn. Any help out there would be appreciated!
ANSWER
Answered 2018-Jul-05 at 19:16You could do something cookie-based.
In your ApplicationController
, you'd implement a method for determining if the cookie is present that states that the visitor has entered your password – if the cookie isn't present, then you'll redirect to your password page:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install riff-raff
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page