Undefined global variables

I know that this question may be a "dumb" one but just forgive me for this :( I was doing a quiz-time application but just got a problem :( my two global variable are not defined which are "score" and "solvedQuestions" although there's no variable h...
more »

2017-10-04 22:10 (0) Answers

Restful security check for webpage menu items

When I want to check that a user has no access to a specific menu item, I pass a value in my REST API like this: { menu_item1: false, menu_item2: true } And regarding to these values, menu items will be visible/invisible. Is it a security issue th...
more »

2017-09-27 10:09 (1) Answers

laravel app class not found after deployment

Please, Be indulgent, this is my first question here... ;) After deploying a Laravel 5.4 site on a shared server, the following error appears: Class 'App\Langue' not found And it appears for each of my class. Everything is functional except t...
more »

2017-09-15 03:09 (1) Answers

Saved app version in public file

I need to save information about current application version. I have a few environments like: development/testing/production. I have only access to dev/test. Production is only for my client. This is problem, because I need informations about deploye...
more »

2017-05-12 15:05 (0) Answers

Validate that only one user logs into an account

I'm developing a website where I want to make some security procedure and I want to make sure that only one user can log into his account from only one computer. So, any ideas how can I handle this with php or even javascript code? Note : I tried t...
more »

2017-04-26 20:04 (1) Answers

Not able to run gradle based webapp in heroku

Below is what I tried. The below is my build.gradle /* * This build file was generated by the Gradle 'init' task. * * This generated file contains a sample Java Library project to get you started. * For more details take a look at the Java Libr...
more »

2017-04-10 21:04 (1) Answers

Website access control

I'm currently working on adding a login system to an old website. Unfortunately, I'm new to web developments and can not find answers for the following questions: 1. How can I check if a user is logged in or not before serving his http requests. I do...
more »

2017-03-06 08:03 (0) Answers

Setup Spring app on the deploy

Is this a good practice to use CommandLineRunner to setup app on the first deploy. For example, I want to: Create user's roles in the DB; Load admin's login and pass from property file and create admin-user (on user per app) in the DB. Or can you...
more »

2016-12-06 21:12 (1) Answers