|
wow make you crazy it was very disrespectful
|
|
|
|
|
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Hello, i have finished developing a c# code for a software, and it is time to make a installation setup for it ( using "Setup and Deployment" project of visual studio ) and then give this installation setup to the users to install and use the software. this software uses files of DLLs, database files (mdf,ldf) and some other (.exe, .exe.config, .exe.manifest and .pdb) ( Please See the picture of files for setup and deployment ) ... in the setup project of this software i need to put the required files to be installed on users pc... so i put all the files in release folder including database files mdf and ldf)... the problem is that anyone who has installed this application, can see my MDF and LDF database files and can easily attach it to a sql server and find out how my tables were designed and what are my records.
Please help me with these questions that i need the most :
1)how could i prevent users from seeing these source files?
2)is this way of publishing (put every thing in release folder for installation of end user) correct?
3)should i directly put MDF and LDF files or have to do a some work of securing them like compiling into irreversible format that only application can use it not anyone else?
4)should i do something in the process of creation of database in visual studio to prevent any one accessing it except software itself?
5)am i missing a concept in the way of publishing an application with local database?
P.S:
application is developed by C# windows form using visual studio .net 2013 (.NET 4.5)
Setup project is used by "Setup and Deployment" of visual studio
Application is using local database by visual studio (Visual C# items - Serviced base database)
This is my first time of publishing an actual software sorry for any lack of information
|
|
|
|
|
salar1369 wrote: 1)how could i prevent users from seeing these source files? You can't; you can spend money on making it harder to read, but it will still be a list of computer-instructions that can be read by both CPU and user.
salar1369 wrote: 2)is this way of publishing (put every thing in release folder for installation of end user) correct? No; applications should be installed in the program files folder (that's where applications go) and data in the users documents folder.
salar1369 wrote: 3)should i directly put MDF and LDF files or have to do a some work of securing them like compiling into irreversible format that only application can use it not anyone else? If it is irreversable, how would you read it?
salar1369 wrote: 5)am i missing a concept in the way of publishing an application with local database? Yes; ownership.
If the database is local on my system, you cannot lock me out - I'm the owner of my machine and its data. If you want to make sure that people don't get into your database, then the only option is to "not" use a local database, but host one.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
You could encrypt the data in the database. Or switch to a host database Sql Azure.
Schneider
|
|
|
|
|
Tool: Visual Studio 2012. InstallShield 2015 Limited Edition.
Application: Windows Form Application using C#.
I have Created one windows form Application. And also created it's setup using Install Shield in Visual Studio 2012.
Now I have one Code Signing Certificate and I want to add it in my Project Setup. How can I do It?
Or I have to go with ClickOnce instead of InstallShield?
Any Suggestion?
|
|
|
|
|
|
Dear All,
I have a web portal running on my intranet. Now i want to design a windows client in which when user logs in for a particular machine for a day, then if he hits the web portal link then it must not ask to log in with its username and password again. Please suggest and give your views.
ashish sharma
ashish sharma
|
|
|
|
|
|
Yes I do. I thought that i need a windows solution(or any idea) so its better to put this question in windows forum as well.
ashish sharma
|
|
|
|
|
|
It is intranet. Can't you just use windows authentication?
"You'd have to be a floating database guru clad in a white toga and ghandi level of sereneness to fix this goddamn clusterfuck.", BruceN[ ^]
|
|
|
|
|
Yes, I can. But my portal uses the employeeID as login id with its custom password. but for this i need to make a way out to map employeeID with domain user. But i never used windows authentication. Is there any other way of get around ?
ashish sharma
|
|
|
|
|
What I am suggesting is that you totally get rid of form based authentication. You should just have windows authentication. This will eliminate all the need to maintain uses in database.
If you are managing roles and rights in database you can either move that to active directory where each role will be transformed to an AD group and based on group you set rights in code. If this is not feasible, keep authentication windows based but have authorization done in code through database tables.
Here[^] is a blog that shows how to implement windows authentication with database based authorization.
"You'd have to be a floating database guru clad in a white toga and ghandi level of sereneness to fix this goddamn clusterfuck.", BruceN[ ^]
|
|
|
|
|
A website can always store a cookie on users device and then exchange it to see if he logged in today. If his last visit was from within 24 hours, then show him the content. Otherwise, redirect him to the authentication page.
|
|
|
|
|
Hello all,
I'm trying to find a way to record an HD IP camera feed in a 3rd party Windows 7 program which uses DirectShow.
I'm using a Raspberry Pi to transmit the video feed from an IP camera to a Win 7 PC.
Raspivid is installed on the Pi with the following parameters: -t 0 -w 1280 -h 720 -hf -ih -fps 20 -o - | nc -k -l 2222
I can view the video feed through Mplayer with no lag by running the command: C:\mplayer\mplayer -fps 200 -demuxer h264es ffmpeg://tcp://192.168.1.6:2222
My problem is that I cannot pipe the feed into the 3rd party program. I believe I need to have a DirectShow source filter created to do this.
Would anyone be able to create a filter to do this or could you direct me to someone who can?
I would be more than happy to compensate someone for the development time.
Thanks much,
Chuck
|
|
|
|
|
ceatea wrote: Would anyone be able to create a filter to do this or could you direct me to someone who can?
I would be more than happy to compensate someone for the development time. Sorry, but that is beyond the scope of this forum. People will help with your code or direct you to specific documentation, but no one will do the work for you, whether paid or not.
|
|
|
|
|
Reposting the same question, without any additional information in multiple forums.
If it is during painting, then read about the DoubleBuffered property. If it is during processing, check out what a thread is and move the work to a thread. If it is during construction of the form/initial show, then you probably have lots of controls on that form and should try to remove some.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
You seem to have mistaken this site for Google. Over and over and over again...[^]
Rather than constantly re-posting the same terse demands for code, try typing your question into a search engine. You'll get the results much faster, and you won't end up annoying the unpaid volunteers who are here to help when you have a genuine question.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Yes, I agree, that is a good idea.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Hi All -
First, I am not a designer. It's really hard for me to come up with a design for my applications. I am not sure if I should use tiles (like windows 8 / 10) or Ribbon Bars or Metro Forms or anything for that matters.
How do people come up with really good designs for the programs?
I do not want my program to look cheesy or generic but professional.
I have looked at different software designs on google but don't see what I can use.
Thanks everyone
|
|
|
|
|
The main thing is:
1. Focus on the main point(s) of your application.
Now for graphic design there are some things that help user's minds take in your information easily and quickly and have a better experience.
Those things boil down to CRAP*
1. Contrast
2. Repitition
3. Alignment
4. Proximity
So, think about what you want the user to focus on in your app and then use CRAP as you sketch a drawing out on paper. Finally, turn that into your app.
*CRAP comes from the super fantastic and easy to read book:
The Non-Designer's Design Book (4th Edition): Robin Williams: 9780133966152: Amazon.com: Books[^]
|
|
|
|
|
Thank you greatly for the reply. To be honest, I think I already have CRAP for design.
I will look into the book you mentioned. Basically, my application is content management. It's specific to a certain type of industry and they will be putting in people (in a database)and things that are associated with that person. I have looked at other programs for this and they look generic and come as stock control color winforms. For anyone that thinks they can code is up for a surprise when you want it to look professional and you don't know how to have your software look and feel.
|
|
|
|
|
daveofgv wrote: anyone that thinks they can code is up for a surprise when you want it to look professional
Agree 100%.
The difference between a app which is ok and really great is that
the great app
1. does what you want and
2. you can find the stuff that it does.
|
|
|
|
|
I have a VB.2010 program that has a Setup/Deploy project. It is one of many using the same techniques (MSI file with file exists and launch conditions)
It was been installing fine on all supported windows until now on Windows 10. It still installs fine on Windows 7.
The setup has a file exists condition requirement in a launch condition. This file is definitely on the target PC in the correct folder and is the same file used by several other vb.2010 programs that did get installed ok on this W10 PC but not this program. The message is triggered that the launch condition (file not found).
This has happened on a client's machine and ours.
Any idea why this one program's S/D can't find that file and more important how to fix it.
Thanks
modified 22-Nov-15 6:27am.
|
|
|
|