Tag Info

Hot answers tagged

7

emails containing an encrypted personId in the query string of an https link Firstly, encryption isn't really what you want in this scenario - you really want entropy. Your login token should be entirely independent of your personId, instead it should be a random string generated using a cryptographically secure method. Of course you will need to ...


2

Those form fields are part of the presentation layer. You should have a view model, basically a model for that presentation. That viewModel has to have the entire state for that form fields. The state should be: their value, their enabled/disabled, etc... So, when you present those fields in the screen you'll have to load the state from your viewModel. ...


2

This is a terrible idea if there are no clear warnings on the example page. It encourages developers to put their secrets in their configuration files on their developer machines. Those files end up in version control, which is very, very wrong. The only location where configuration files might have secrets (see below about what I mean by secrets) is on ...


1

I suppose that since my users will navigate between pages, the websocket handshake will have to be remade after each request, which might be bad because of the additional overhead (not so sure though..). Bad in what sense? Yes, there will be additional load on your server, but it probably won't be a big deal. Your main goal at this stage should be to ...


1

Semantic web is an approach that has made serious steps during the history of World Wide Web. The field of Artificial Intelligence has also progressed so that it has provided Semantic Web with tools capable to link the semantic information and create Agents that will be able to automate a lot of human everyday activities (e.g. shopping-appointments). ...


1

An application context object usually allows access to the configuration of the application instance, things like: What is the application's hostname and path? How is dependency injection configured, i.e. what implementation is to be used for a given interface? OS environment variables In a properly designed OO system, the access will be via methods of ...



Only top voted, non community-wiki answers of a minimum length are eligible