Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
preventing
- Page 1
Re: Why my created link is not updating as a backlinks?
Digital Media
Digital Marketing
Search Engine Strategies
6 Days Ago
by Ramesh sharama
Your backlink may not be updating due to indexing delays, low-quality or **nofollow links**, or improper placement. Ensure your link is placed in relevant, high-quality content, is "**dofollow**," and there are no technical issues
preventing
it from being indexed by search engines.
Handling Real-Time DOM Sync in SSR React App with Dynamic Nested Routes
Programming
Web Development
3 Weeks Ago
by Neil_brown001
… (or patterns) around: Combining SSR state with real-time updates.
Preventing
unnecessary re-renders in async/reactive flows. Managing hydration-safe…
Preventing a denial of service attack on the site?
Programming
Web Development
17 Years Ago
by culp
… these MP3 files used in the site? I've tried
preventing
directory browsing but this doesnt prevent access to the individual…
Preventing multiple instances of .exe
Programming
Software Development
16 Years Ago
by Sci@phy
Hello. Any way of
preventing
multiple instances of executables? I'm writing a program that uses a file, it would be quite messy if someone would start another instance of same program. If it depends on OS, I would like to see solutions for windows and unix-type (linux) systems. Thanx
Re: Preventing multiple instances of .exe
Programming
Software Development
16 Years Ago
by ArkM
As far as I know flag/lock file method works on all platforms. See discussion on this topic: [url]http://www.velocityreviews.com/forums/t137115-
preventing
-multiple-instance-standalone-desktop-gui-applications.html[/url]
Preventing duplicate records in a database using visual c#
Programming
Software Development
13 Years Ago
by Woodenhousen
… end up with duplicated records, how could I go about
preventing
this using a try/catch block? The columns I have…
Re: Preventing an SQL injection
Programming
Web Development
15 Years Ago
by TommyBs
Although mysqli has benefits in
preventing
SQL injection I would still say it is good practise …
Security settings preventing me from running web applications containing ActiveX
Hardware and Software
Information Security
20 Years Ago
by shintosuru
My browser security settings are
preventing
me from running web applications containing ActiveX. I looked on …
Looking for C++ Source Code for Preventing Hooks
Programming
Software Development
19 Years Ago
by siosavin
does anyone have a c++ source code that use getprocaddress and loadlibrary with
preventing
hook? << moderator edit: split thread ([url=http://www.daniweb.com/techtalkforums/showthread.php?t=4909]original[/url]) >>
why the below code for page backward preventing is not working in firefox
Programming
Web Development
13 Years Ago
by Jessurider
… anyone tell me why the below code for page backward
preventing
is not working in firefox but works perfectly in google…
Re: Preventing a denial of service attack on the site?
Programming
Web Development
17 Years Ago
by shovels
Do people have to be registered to access the files? If you can get the people to register first you could prevent non-registered members from accessing the files at all. Another option could be to serve the files using PHP, possibly not the best way of dealing with the files, but it will give you a lot more control as you can place the files…
Re: Preventing a denial of service attack on the site?
Programming
Web Development
17 Years Ago
by culp
Hi Thanks for the reply No the users don't have to register for the site they can just play the files. It seems the attack was automated in some way, that is I cant think of anyone pressing the refresh button 7,000 times in one hour? Can you explain abit further what you mean by "serve the pages in php" My site root (as …
Re: Preventing a denial of service attack on the site?
Programming
Web Development
17 Years Ago
by shovels
Hi Alan, Files below the root folder (public_html) can only be accessed by your scripts - public access is not possible. For example: You can't specify [url]www.domainname.com/../folder_below_root[/url] it just won't work. However you can specify in your php file (which for this example is in your root folder): $sMusicSrc = '../…
Re: Preventing a denial of service attack on the site?
Programming
Web Development
17 Years Ago
by shovels
I forgot to mention, I used this with users having to be members (free), but I could check as soon as the php file was requested if the user was logged in. If not then it wouldn't work. It would take them back to the registration page. Even if someone has the direct link (in the embed section) of your code it doesn't matter because you have …
Re: Preventing a denial of service attack on the site?
Programming
Web Development
17 Years Ago
by culp
Thanks for the help I've gone from tearing my hair out to knowing what I have to do, in an afternoon! :icon_cheesygrin:
Re: Preventing a denial of service attack on the site?
Programming
Web Development
17 Years Ago
by shovels
no problems, glad I could be of help.
Re: Preventing multiple instances of .exe
Programming
Software Development
16 Years Ago
by twomers
What time do you want it on your desk for? I've never had to do this, but did a quick Google search and got this -- [url]http://support.microsoft.com/kb/243953[/url] Looks about right, works too.
Re: Preventing multiple instances of .exe
Programming
Software Development
16 Years Ago
by Sky Diploma
If You have No restrictions on editing your file, i guess you can write something like a single letter in the starting of the document, something like a single digit, {0,1} Then in your program [code] int main() { //Code to open file..... //Then check if (filein[0]='0')//Here "filein" is the file-stream with which you …
Re: Preventing multiple instances of .exe
Programming
Software Development
16 Years Ago
by twomers
Eh... that's dangerous enough. What happens if the program crashes for some reason? I think the solution I posted from msdn is better in regard to that, though not portable. Make a header file, make an instance of the object, and test the return value of the "IsAnotherInstanceRunning" method.
Re: Preventing multiple instances of .exe
Programming
Software Development
16 Years Ago
by ArkM
[QUOTE=twomers;689997]Eh... that's dangerous enough. What happens if the program crashes for some reason? I think the solution I posted from msdn is better in regard to that, though not portable. Make a header file, make an instance of the object, and test the return value of the "IsAnotherInstanceRunning" method.[/QUOTE] I think. …
Re: Preventing multiple instances of .exe
Programming
Software Development
16 Years Ago
by Sci@phy
I've tried solution with IsAnotherInstanceRunning(), and it works great. But since the header file includes windows.h, it can't run on unix-types... I'd appreciate some help on that filed
Re: Preventing multiple instances of .exe
Programming
Software Development
16 Years Ago
by twomers
I don't run linux so I don't know if this'll work, but here's a solution I've found that'll work on linux: [url]http://www.linuxquestions.org/questions/programming-9/restricting-multiple-instance-of-a-program-242069/?[/url] It uses a lock file but the lock is killed when the program ends, even if killed or crashed etc. What you do is have an #ifdef…
Re: Preventing multiple instances of .exe
Programming
Software Development
16 Years Ago
by Duoas
...which is the correct solution for Linux. On Windows, register a new window message (specific to your application) and broadcast it when your program is considering starting up. Any existing instance should respond that it already exists. The new instance can then terminate. If there isn't any response, then there is no other instance. There …
Re: Preventing duplicate records in a database using visual c#
Programming
Software Development
13 Years Ago
by thines01
A try/catch block would only help if there is a unique index on the table that prevents duplicates. A different solution is to first test to are if the record exists before insertion.
Re: Preventing duplicate records in a database using visual c#
Programming
Software Development
13 Years Ago
by Woodenhousen
[QUOTE=thines01;1695005]A try/catch block would only help if there is a unique index on the table that prevents duplicates. A different solution is to first test to are if the record exists before insertion.[/QUOTE] As I am a neewbie to C#, could you kindly suggest how I would do this.
Re: Preventing duplicate records in a database using visual c#
Programming
Software Development
13 Years Ago
by ChrisHunter
you could do an INSERT statement with a WHERE clause to prevent a new row being added to a table where the same records already exits. would be something like (but dont take my word for it) [CODE]INSERT INTO Employee AS E (Name, Age, DOB) VALUES (value1, value1, value3) WHERE E.Name != value1 AND E.Age != value2 AND E.DOB != value3;[/CODE]…
Re: Preventing duplicate records in a database using visual c#
Programming
Software Development
13 Years Ago
by thines01
Those are great options, ChrisHunter!
Re: Preventing duplicate records in a database using visual c#
Programming
Software Development
12 Years Ago
by sohaiby
IF NOT EXISTS (SELECT * FROM dbo.tableName WHERE PrimaryKey = @PrimaryKey) INSERT INTO dbo.tableName(list of columns) VALUES (list of values)
Re: Is this good in preventing Admin hacks?
Programming
Web Development
13 Years Ago
by ko ko
You're not
preventing
the SQL injection. You're probably encrypting the data.
Re: Is this good in preventing Admin hacks?
Programming
Web Development
13 Years Ago
by MooGeek
[QUOTE=Zero13;1591335]You're not
preventing
the SQL injection. You're probably encrypting the data.[/QUOTE] Like what've said, it's just a Fail safe option where in if "ever" the security failed to protect it from SQLInjections, this will make sure that using an SQL Injection cannot retrieve the Admin accounts. just saying...
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC