problem with cef.pak

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

problem with cef.pak

Postby vagaceji » Wed Jan 20, 2016 4:35 am

When I delete cef.pac, the client runs, but exposes all of the html code. I'm trying to hide my code, is there a way to make sure the user can't expose the code this way?
vagaceji
Techie
 
Posts: 15
Joined: Mon Oct 19, 2015 4:24 am

Re: problem with cef.pak

Postby magreenblatt » Wed Jan 20, 2016 11:18 am

The cef.pak file is required for proper functioning.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: problem with cef.pak

Postby amaitland » Wed Jan 20, 2016 6:33 pm

I'd suggest you validate that `cef.pak` is present on app startup.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1292
Joined: Wed Jan 14, 2015 2:35 am

Re: problem with cef.pak

Postby vagaceji » Wed Jan 20, 2016 11:19 pm

amaitland wrote:I'd suggest you validate that `cef.pak` is present on app startup.

But is it enough, can't the user just replace the file with the same name and then start the app with the exposed code?
vagaceji
Techie
 
Posts: 15
Joined: Mon Oct 19, 2015 4:24 am

Re: problem with cef.pak

Postby amaitland » Thu Jan 21, 2016 5:18 am

vagaceji wrote:But is it enough, can't the user just replace the file with the same name and then start the app with the exposed code?


If your that paranoid then you would need to hash the relevant files.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1292
Joined: Wed Jan 14, 2015 2:35 am

Re: problem with cef.pak

Postby vagaceji » Sat Jan 23, 2016 8:04 am

amaitland wrote:
vagaceji wrote:But is it enough, can't the user just replace the file with the same name and then start the app with the exposed code?


If your that paranoid then you would need to hash the relevant files.

Yeah, the reason I'm trying to use CEF is because I don't wnat my code to be visible. Which for that reason I learned some C++ to try to use it, so I'm really new to it and don't know much, so I have no idea how exactly to hash files.
vagaceji
Techie
 
Posts: 15
Joined: Mon Oct 19, 2015 4:24 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 80 guests