Best Practices for Hybrid Mobile Applications

Need recommendations for security best practices for the JS/HTML/CSS code in hybrid mobile applications.

The javascript code in a hybrid mobile application built on a platform like Cordova, Ionic, IBM Worklight etc. contains the client side logic as well as protections like encryption that are responsible for the security of the HTTP request and response parameters.

I have researched enough to have failed to find an available plugin/tool for encryption/obfuscation/minification of the sensitive files.

Security guys. Please recommend…

How to combine two web applications in Visual Studio? [migrated]

I have two different web applications as different projects(solutions). Both use same version of ASP.NET core backend. Both projects build perfectly and run with no issues. One web application is a Forum. When it is run, it opens up in the following path.


Other web application is a normal website. It open in the following.


I am wanting to combine these two projects and make a single web application. So whenever I press a button in the main website, it will redirect to the Forum. But I can’t find a way to combine these two projects.

I tried right clicking on the main website solution -> add an existing project and choosing the Forum project’s solution file. But it will just give an error saying objectdisposedexception. Doing so totally breaks everything.

New to Visual Studio and I’m using Visual studio 2019. Any help is much appreciated. Thank You.

Lots of Java applications deployed with different 3rd Party jars and/or versions thereof

I’m trying to centralize a repository on multiple deployment servers for all our Java applications. What I am looking for is a way to use a single POM file or similar to allow direct communication with a Nexus server which stores all the jars. The reason behind this is that our backups are becoming huge, having to store the jars from each server as opposed to a single centralized file.

How to merge data models of two web applications? [on hold]

Say company A and B both offer two distinct web applications, both with their user accounts for log in and their own data model in general.

Now company A takes over company B. How should company A provide their users access to services of company B without asking them to create new accounts? More specifically, how should company B adopt its data model, which currently relies on the user object, to allow for this?

One option I see is to create a “shadow user” in company B for every user in company A. Then company A needs to add an additional user mapping on their side to keep track of what user Ids to use when they access the REST API of company B.

The upside of this approach seems to me that both company A and B can keep their data model separate and relatively untouched. On the other hand, having these “shadow users” just to keep the data model consistent sounds not clean to me.

Another option might be to add some reference to directly link objects from company B’s world to those of company A’s user. As a downside, this would couple the service of company B to company A and probably results in a lot of refactoring of the data model on company B’s side. On the other hand it sounds cleaner to me, as we don’t need those “shadow users”.

I see two principles at conflict here: Decoupling of services vs. Simplicity of the data model.

Which option would you prefer?

Pop OS alt + f4 not working for specific applications

I have recently installed Pop OS 18.04 .However I am facing a weird problem. I am trying to close some applications (File manager,Gedit,Slack) using Alt+f4.However this doesn’t seem to work.If I try to close an other application(such as google chrome) the same way everything works as expected.

I am running Pop!-OS 18.04 LTS on GNOME 3.28.2

Any ideas why this is happening?

18.04 – Suspended system resumes with all applications closed (as if from fresh boot)

I’ve recently installed Ubuntu 18.04 on a Dell i7559 notebook.

When the system is resumed from suspend, it fails to restore the state that the system was in prior to suspend. That is, there are no applications open and it’s as if I had booted it after a shut down. This has been the case since I installed Ubuntu on this machine.

When the system is first placed into suspend, it seems to wake immediately on a splash screen (with notifications) for just a few seconds before suspending completely (screen, fans, periphery devices, etc. off). Perhaps this is a symptom of a separate issue?

As suggested in other answers elsewhere, I’ve updated my GRUB config like so:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nouveau.modeset=0" GRUB_CMDLINE_LINUX="nouveau.modeset=0" 

Unfortunately, this does not resolve the issue.

I have also updated to Linux kernel 4.18 (4.18.0-25-generic according to uname -a) as others have mentioned that there are several fixes in recent kernel releases that address suspend issues. Unfortunately, this also hasn’t resolved my issue.

When reviewing dmesg, the latest messages occur well before the system went into suspend.

Does anyone have any suggestions for how I might go about fixing this?

Why does ubuntu 16.04 takes longer time to open applications than windows 10?

I am using a SSD as a boot drive. I recently switched from windows 10 to ubu ntu 16.04(newer version of ubuntu dont run smoothly on my laptop as its 5+ years old) and I noticed that it takes more time to boot and open applications(spotify, chrome etc) than windows 10. Why is that and what can I do to make it run smoothly as windows 10?.

Note:- I have installed preload and it does not help me much.

Font size inside applications does not increase in Ubuntu 18.04

For some reason I cannot change the font/display size inside applications in Ubuntu 18.04.

When I use the shortcut [CTRL+] the only thing that changes is the font size of the surrounding Ubuntu interface, while the font size in the application itself stays the same, as in the screenshots below.

I tried all of the solutions proposed in this thread, but the result is the same as with the keyboard shortcut and as shown in the screenshots.

At first I thought this was a problem specific to some third-party software I’m using, in which the font size is especially tiny, and which does not have its own means of changing font/display size, but then I noticed that on my laptop, Firefox and other more common applications are equally insensitive to solutions for increasing font size.

default size

increased size